]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Merge pull request #12909 from annando/server-detection
[friendica.git] / index.php
index 10f04996afb1ae2b06d89c0e016b100077cd837b..90df9c00e9b77d56d3a1d192836fc48ff772ddad 100644 (file)
--- a/index.php
+++ b/index.php
@@ -36,9 +36,6 @@ $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode
 
 \Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
 
-// Check the database structure and possibly fixes it
-\Friendica\Core\Update::check(\Friendica\DI::basePath(), true, \Friendica\DI::mode());
-
 $a = \Friendica\DI::app();
 
 \Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);
@@ -48,7 +45,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\Content\Nav::class),
        $dice->create(Friendica\Module\Special\HTTPException::class),
        new \Friendica\Util\HTTPInputData($_SERVER),
-       $start_time
+       $start_time,
+       $_SERVER
 );