mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
Allow to call status.php before the instance is installed
This commit is contained in:
parent
314afcecf9
commit
7bfc698ae4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue