Tweak artisan file.
This commit is contained in:
parent
e0c22a6e71
commit
009c2fbd26
8
artisan
8
artisan
|
@ -28,8 +28,10 @@ $app = require_once __DIR__.'/bootstrap/app.php';
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$status = $app->make('Illuminate\Contracts\Console\Kernel')->handle(
|
$kernel = $app->make('Illuminate\Contracts\Console\Kernel');
|
||||||
new Symfony\Component\Console\Input\ArgvInput,
|
|
||||||
|
$status = $kernel->handle(
|
||||||
|
$input = new Symfony\Component\Console\Input\ArgvInput,
|
||||||
new Symfony\Component\Console\Output\ConsoleOutput
|
new Symfony\Component\Console\Output\ConsoleOutput
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -44,4 +46,6 @@ $status = $app->make('Illuminate\Contracts\Console\Kernel')->handle(
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$kernel->terminate($input, $status);
|
||||||
|
|
||||||
exit($status);
|
exit($status);
|
||||||
|
|
Loading…
Reference in New Issue