summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-09-06 15:10:56 +0200
committerGitHub <noreply@github.com>2016-09-06 15:10:56 +0200
commit9854705f63b6961e2bbb50478c037694ed61e549 (patch)
tree0cd5c7de6cc34190a2872c9eb3595b3f27ecdabb /lib
parentb6bdf81d55c3fc493f492a9764bd18dabee7a294 (diff)
parent20b636f38229e55c8c6ad5861d4f7b938e41ba2a (diff)
downloadnextcloud-server-9854705f63b6961e2bbb50478c037694ed61e549.tar.gz
nextcloud-server-9854705f63b6961e2bbb50478c037694ed61e549.zip
Merge pull request #1284 from nextcloud/allow-status.php-before-install
Allow status.php before install
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 {