mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
refactor setup DI
This commit is contained in:
parent
8ed5dd3a30
commit
dc65958c17
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ class App
|
||||||
|
|
||||||
$this->setupContainerForLogger(LogChannel::DAEMON);
|
$this->setupContainerForLogger(LogChannel::DAEMON);
|
||||||
|
|
||||||
DI::init($this->container);
|
$this->setupLegacyServerLocator();
|
||||||
|
|
||||||
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class));
|
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class));
|
||||||
|
|
||||||
if (DI::mode()->isInstall()) {
|
if (DI::mode()->isInstall()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue