Load extensions in CLI

pull/9/head
Toby Zerner 2015-06-19 11:48:07 +09:30
parent 07856bd53e
commit 1e807b187d
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
$app = require_once __DIR__.'/bootstrap.php';
$app->instance('type', '');
$app->register('Flarum\Support\Extensions\ExtensionsServiceProvider');
$kernel = $app->make('Illuminate\Contracts\Console\Kernel');
$status = $kernel->handle(