Merge pull request #1165 from JoostK/develop
Problem with manual running of Artisan tasks
This commit is contained in:
commit
a5bb035e4c
|
@ -125,7 +125,7 @@ public static function resolve($bundle, $task)
|
||||||
// the requested method may be executed.
|
// the requested method may be executed.
|
||||||
if (file_exists($path = Bundle::path($bundle).'tasks/'.$task.EXT))
|
if (file_exists($path = Bundle::path($bundle).'tasks/'.$task.EXT))
|
||||||
{
|
{
|
||||||
require $path;
|
require_once $path;
|
||||||
|
|
||||||
$task = static::format($bundle, $task);
|
$task = static::format($bundle, $task);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue