Skip to content
Snippets Groups Projects
Commit a2d6b271 authored by Bart Visscher's avatar Bart Visscher
Browse files

Check maintenance mode before loading apps in route matcher

parent 04889684
Branches
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment