refactor setup DI

This commit is contained in:
Art4 2024-12-26 10:17:22 +00:00
parent 8ed5dd3a30
commit dc65958c17

View 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()) {