Browse Source

Merge pull request #1165 from JoostK/develop

Problem with manual running of Artisan tasks
Dayle Rees 12 years ago
parent
commit
a5bb035e4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/cli/command.php

+ 1 - 1
laravel/cli/command.php

@@ -125,7 +125,7 @@ class Command {
 		// the requested method may be executed.
 		if (file_exists($path = Bundle::path($bundle).'tasks/'.$task.EXT))
 		{
-			require $path;
+			require_once $path;
 
 			$task = static::format($bundle, $task);