Allow to call status.php before the instance is installed

pull/1284/head
Joas Schilling 9 years ago
parent 314afcecf9
commit 7bfc698ae4
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 2
      lib/base.php

@ -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…
Cancel
Save