Allow to call status.php before the instance is installed
This commit is contained in:
parent
314afcecf9
commit
7bfc698ae4
|
@ -264,7 +264,7 @@ class OC {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Redirect to installer if not installed
|
// 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) {
|
if (OC::$CLI) {
|
||||||
throw new Exception('Not installed');
|
throw new Exception('Not installed');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue