From 7bfc698ae4a83ea8fd358f042f4cdb78bbf7bec3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 6 Sep 2016 13:59:45 +0200 Subject: [PATCH] Allow to call status.php before the instance is installed --- lib/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {