]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Bugfixings for getAllKeys()
[friendica.git] / index.php
index 2bdda90f4abf6f71fc44150e7759a1e9902a96d8..f34b79867cd42d02f7a0a7deaaa13a6a3af231d5 100644 (file)
--- a/index.php
+++ b/index.php
@@ -165,9 +165,9 @@ $_SESSION['last_updated'] = defaults($_SESSION, 'last_updated', []);
 
 // in install mode, any url loads install module
 // but we need "view" module for stylesheet
-if ($a->isInstallMode() && $a->module!="view") {
+if (App\Mode::isInstall() && $a->module != 'view') {
        $a->module = 'install';
-} elseif (!App\Mode::has(App\Mode::MAINTENANCEDISABLED) && $a->module != "view") {
+} elseif (!App\Mode::has(App\Mode::MAINTENANCEDISABLED) && $a->module != 'view') {
        $a->module = 'maintenance';
 } else {
        check_url($a);