From: Art4 Date: Thu, 26 Dec 2024 10:17:22 +0000 (+0000) Subject: refactor setup DI X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc65958c1794cf7ba743d6161e7e2e5da07688d2;p=friendica.git refactor setup DI --- diff --git a/src/App.php b/src/App.php index 7ff13e3e1b..9202e80129 100644 --- a/src/App.php +++ b/src/App.php @@ -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()) {