mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Move Container logic into own class
This commit is contained in:
parent
6d77eb9b10
commit
40fbb02149
14 changed files with 147 additions and 88 deletions
|
@ -19,6 +19,5 @@ require dirname(__DIR__) . '/vendor/autoload.php';
|
|||
|
||||
$dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.config.php'));
|
||||
|
||||
$app = \Friendica\App::fromDice($dice);
|
||||
|
||||
$app->processConsole($_SERVER['argv'] ?? []);
|
||||
$container = \Friendica\Core\Container::fromDice($dice);
|
||||
\Friendica\Core\Console::create($container, $_SERVER['argv'] ?? [])->execute();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue