From: Michael Vogel Date: Wed, 25 Jul 2018 14:25:40 +0000 (+0200) Subject: Bugfix: Session handling hadn't been initialized (#5493) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=32a8702bd74a20549fa7af8830624321597f3707;p=friendica.git Bugfix: Session handling hadn't been initialized (#5493) --- diff --git a/index.php b/index.php index 17dec3074e..b33db80b69 100644 --- a/index.php +++ b/index.php @@ -48,7 +48,7 @@ if ($a->isMaxProcessesReached() || $a->isMaxLoadReached()) { System::httpExit(503, ['title' => 'Error 503 - Service Temporarily Unavailable', 'description' => 'System is currently overloaded. Please try again later.']); } -if ($a->isInstallMode()) { +if (!$a->isInstallMode()) { if (Config::get('system', 'force_ssl') && ($a->get_scheme() == "http") && (intval(Config::get('system', 'ssl_policy')) == SSL_POLICY_FULL) && (substr(System::baseUrl(), 0, 8) == "https://")