mirror of
https://github.com/friendica/friendica
synced 2025-01-08 02:44:43 +00:00
Refactor r init service locator
This commit is contained in:
parent
31deac5117
commit
e0a249f9a4
1 changed files with 2 additions and 1 deletions
|
@ -440,7 +440,8 @@ class App
|
|||
|
||||
$this->setupContainerForLogger(LogChannel::WORKER);
|
||||
|
||||
DI::init($this->container);
|
||||
$this->setupLegacyServiceLocator();
|
||||
|
||||
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(\Psr\Log\LoggerInterface::class));
|
||||
|
||||
DI::mode()->setExecutor(Mode::WORKER);
|
||||
|
|
Loading…
Reference in a new issue