Always load the apps before trying to match a route

This commit is contained in:
Bart Visscher 2013-02-08 19:06:59 +01:00
parent 340d6fce11
commit fba9739448

View file

@ -556,6 +556,7 @@ class OC {
if (!self::$CLI) {
try {
OC_App::loadApps();
OC::getRouter()->match(OC_Request::getPathInfo());
return;
} catch (Symfony\Component\Routing\Exception\ResourceNotFoundException $e) {