Allow to call status.php before the instance is installed
This commit is contained in:
parent
e97bb2ccc5
commit
0a2b5b75de
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue