mirror of
https://github.com/friendica/friendica
synced 2025-01-08 18:44:43 +00: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);
|
||||
|
||||
DI::init($this->container);
|
||||
$this->setupLegacyServerLocator();
|
||||
|
||||
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class));
|
||||
|
||||
if (DI::mode()->isInstall()) {
|
||||
|
|
Loading…
Reference in a new issue