When using routing in apps, no apps are loaded in the left navigation tree. To fix this: load apps for matching a request

remotes/origin/stable5
Bernhard Posselt 13 years ago
parent bf20021b62
commit e642d18e26
  1. 1
      lib/base.php

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

Loading…
Cancel
Save