mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50: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
|
@ -32,4 +32,7 @@ $argv = $_SERVER['argv'] ?? [];
|
|||
array_splice($argv, 1, 0, "daemon");
|
||||
|
||||
$container = \Friendica\Core\Container::fromDice($dice);
|
||||
\Friendica\Core\Console::create($container, $argv)->execute();
|
||||
|
||||
$app = \Friendica\App::fromContainer($container);
|
||||
|
||||
$app->processConsole($argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue