]> git.mxchange.org Git - friendica.git/commitdiff
refactor setup DI
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 10:17:22 +0000 (10:17 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 10:17:22 +0000 (10:17 +0000)
src/App.php

index 7ff13e3e1b1428c264f31768fbfed85969cbbf89..9202e80129bb5be0cc7b275c768bdba3e2ab7877 100644 (file)
@@ -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()) {