summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-06 13:59:45 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-06 13:59:45 +0200
commit7bfc698ae4a83ea8fd358f042f4cdb78bbf7bec3 (patch)
tree85dd8e3a5115425fc97fac6f0ae64bed64638496 /lib
parent314afcecf9080c78f485039852e30efee2e112c6 (diff)
downloadnextcloud-server-7bfc698ae4a83ea8fd358f042f4cdb78bbf7bec3.tar.gz
nextcloud-server-7bfc698ae4a83ea8fd358f042f4cdb78bbf7bec3.zip
Allow to call status.php before the instance is installed
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index fe7419e6ff3..08fa229e570 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 {