X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=1b62b71c1cf62d9845ac3c09d2edf96a03f05430;hb=be3b76170e41c7f632370b9f582da9c98d6fbd91;hp=95a1306b392dc032e81b71ed97886999230b976d;hpb=5aad46c7fb2b66d63ad93d92ee355fc522b57be1;p=friendica.git diff --git a/index.php b/index.php index 95a1306b39..1b62b71c1c 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ addRules(include __DIR__ . '/static/dependencies.config.php'); +/** @var \Friendica\Core\Addon\Capability\ICanLoadAddons $addonLoader */ +$addonLoader = $dice->create(\Friendica\Core\Addon\Capability\ICanLoadAddons::class); +$dice = $dice->addRules($addonLoader->getActiveAddonConfig('dependencies')); $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode', [false, $_SERVER], Dice::CHAIN_CALL]]]); \Friendica\DI::init($dice); @@ -45,5 +48,9 @@ $a->runFrontend( $dice->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class), $dice->create(\Friendica\Security\Authentication::class), $dice->create(\Friendica\App\Page::class), - $start_time + $dice->create(\Friendica\Content\Nav::class), + $dice->create(Friendica\Module\Special\HTTPException::class), + new \Friendica\Util\HTTPInputData($_SERVER), + $start_time, + $_SERVER );