mirror of
https://github.com/friendica/friendica
synced 2025-04-25 16:30:10 +00:00
Move Console call into App class
This commit is contained in:
parent
744bf9f971
commit
610267a3ea
5 changed files with 21 additions and 4 deletions
|
@ -20,4 +20,7 @@ require dirname(__DIR__) . '/vendor/autoload.php';
|
|||
$dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.config.php'));
|
||||
|
||||
$container = \Friendica\Core\Container::fromDice($dice);
|
||||
\Friendica\Core\Console::create($container, $_SERVER['argv'] ?? [])->execute();
|
||||
|
||||
$app = \Friendica\App::fromContainer($container);
|
||||
|
||||
$app->processConsole($_SERVER['argv'] ?? []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue