Check maintenance mode before loading apps in route matcher

remotes/origin/stable5
Bart Visscher 12 years ago
parent 0488968443
commit a2d6b27170
  1. 2
      lib/base.php

@ -596,7 +596,9 @@ class OC {
if (!self::$CLI) {
try {
if (!OC_Config::getValue('maintenance', false)) {
OC_App::loadApps();
}
OC::getRouter()->match(OC_Request::getRawPathInfo());
return;
} catch (Symfony\Component\Routing\Exception\ResourceNotFoundException $e) {

Loading…
Cancel
Save