Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-06 14:59:45 +0300
committerJoas Schilling <coding@schilljs.com>2016-09-06 17:12:48 +0300
commita9a43e9384d7ce731a091640b0a6db5c6b9ade16 (patch)
tree5d0614704953fbe6a5f4568098fcae3255b3f330
parent2eb5a3cd1212e1716001124f677faf417f0b8741 (diff)
Allow to call status.php before the instance is installed
-rw-r--r--lib/base.php2
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 {