From a9a43e9384d7ce731a091640b0a6db5c6b9ade16 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 6 Sep 2016 13:59:45 +0200 Subject: 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 2a96f5142e7..da035687ad9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -287,7 +287,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 { -- cgit v1.2.3