mirror of https://github.com/flarum/flarum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
386 B
18 lines
386 B
#!/usr/bin/env php
|
|
<?php
|
|
|
|
$app = require_once __DIR__.'/bootstrap.php';
|
|
|
|
$app->register('Flarum\Console\ConsoleServiceProvider');
|
|
|
|
$kernel = $app->make('Illuminate\Contracts\Console\Kernel');
|
|
|
|
$status = $kernel->handle(
|
|
$input = new Symfony\Component\Console\Input\ArgvInput,
|
|
new Symfony\Component\Console\Output\ConsoleOutput
|
|
);
|
|
|
|
$kernel->terminate($input, $status);
|
|
|
|
exit($status);
|