Allow to call status.php before the instance is installed

This commit is contained in:
Joas Schilling 2016-09-06 13:59:45 +02:00
parent 314afcecf9
commit 7bfc698ae4
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {