mirror of
https://github.com/friendica/friendica
synced 2025-01-08 02:44:43 +00:00
run setup functions
This commit is contained in:
parent
318c57df12
commit
8fef32b954
1 changed files with 6 additions and 6 deletions
12
src/App.php
12
src/App.php
|
@ -440,14 +440,14 @@ class App
|
|||
|
||||
public function processJetstream(): void
|
||||
{
|
||||
/** @var \Friendica\Core\Addon\Capability\ICanLoadAddons $addonLoader */
|
||||
$addonLoader = $this->container->create(\Friendica\Core\Addon\Capability\ICanLoadAddons::class);
|
||||
$this->container = $this->container->addRules($addonLoader->getActiveAddonConfig('dependencies'));
|
||||
$this->setupContainerForAddons();
|
||||
|
||||
$this->container = $this->container->addRule(LoggerInterface::class, ['constructParams' => [Logger\Capability\LogChannel::DAEMON]]);
|
||||
$this->setupContainerForLogger(LogChannel::DAEMON);
|
||||
|
||||
$this->setupLegacyServiceLocator();
|
||||
|
||||
$this->registerErrorHandler();
|
||||
|
||||
DI::init($this->container);
|
||||
\Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(\Psr\Log\LoggerInterface::class));
|
||||
Addon::loadAddons();
|
||||
Hook::loadHooks();
|
||||
DI::config()->reload();
|
||||
|
|
Loading…
Reference in a new issue