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
Родитель 340d6fce11
Коммит fba9739448
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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