diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-06 14:59:45 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-06 17:12:48 +0300 |
commit | a9a43e9384d7ce731a091640b0a6db5c6b9ade16 (patch) | |
tree | 5d0614704953fbe6a5f4568098fcae3255b3f330 | |
parent | 2eb5a3cd1212e1716001124f677faf417f0b8741 (diff) |
Allow to call status.php before the instance is installed
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |