]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: Session handling hadn't been initialized (#5493)
authorMichael Vogel <icarus@dabo.de>
Wed, 25 Jul 2018 14:25:40 +0000 (16:25 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Wed, 25 Jul 2018 14:25:40 +0000 (10:25 -0400)
index.php

index 17dec3074e71f5bc11cdffed2bed709f188833a9..b33db80b6928f02a0766d1893ec44d6ff4cc8d70 100644 (file)
--- 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://")