diff --git a/lib/base.php b/lib/base.php index fe7419e6ff..08fa229e57 100644 --- a/lib/base.php +++ b/lib/base.php @@ -264,7 +264,7 @@ class OC { return; } // Redirect to installer if not installed - if (!\OC::$server->getSystemConfig()->getValue('installed', false) && OC::$SUBURI != '/index.php') { + if (!\OC::$server->getSystemConfig()->getValue('installed', false) && OC::$SUBURI !== '/index.php' && OC::$SUBURI !== '/status.php') { if (OC::$CLI) { throw new Exception('Not installed'); } else {