X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=34952afcb0bfc0ef8f3d161e8bff1ca0eb413b2e;hb=6cdafb6b63451b5bd1feb24a5e16c6bad6e059c9;hp=baa6818b094cfd051a6f894303a67260ed5e499a;hpb=d666b6cb42a1b0d46e9fae914a803fbd5e10e2ab;p=friendica.git diff --git a/index.php b/index.php index baa6818b09..34952afcb0 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode \Friendica\DI::init($dice); +\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class)); + $a = \Friendica\DI::app(); \Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX); $a->runFrontend( - $dice->create(\Friendica\App\Module::class), $dice->create(\Friendica\App\Router::class), - $dice->create(\Friendica\Core\PConfig\IPConfig::class), + $dice->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class), $dice->create(\Friendica\Security\Authentication::class), $dice->create(\Friendica\App\Page::class), + $dice->create(\Friendica\Content\Nav::class), + $dice->create(Friendica\Module\Special\HTTPException::class), + new \Friendica\Util\HTTPInputData($_SERVER), $start_time );