X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=87778308a5713a0b7846f511c73b2d346b613e2c;hb=f56054ecc140d2f76ea0cb7ea42f94e3fb90cbf6;hp=bde93bd71f50dbaa66b981f33a386b6e480b715e;hpb=f83784cc63a0b3228ef361a8e59b284b99714142;p=friendica.git diff --git a/index.php b/index.php index bde93bd71f..87778308a5 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,7 +48,9 @@ $a->runFrontend( $dice->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class), $dice->create(\Friendica\Security\Authentication::class), $dice->create(\Friendica\App\Page::class), - $dice->create(\Friendica\Core\Session\Capability\IHandleUserSessions::class), + $dice->create(\Friendica\Content\Nav::class), + $dice->create(Friendica\Module\Special\HTTPException::class), new \Friendica\Util\HTTPInputData($_SERVER), - $start_time + $start_time, + $_SERVER );