summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-08 19:06:59 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-08 19:06:59 +0100
commitfba9739448dfca7234c3910f88ce56f0f28e6bad (patch)
treebf4727d1fa5d4e4ef26ac20c49c40d173bfd82e6
parent340d6fce11d6a66e042e060c514084a0a8ec8455 (diff)
downloadnextcloud-server-fba9739448dfca7234c3910f88ce56f0f28e6bad.tar.gz
nextcloud-server-fba9739448dfca7234c3910f88ce56f0f28e6bad.zip
Always load the apps before trying to match a route
-rw-r--r--lib/base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 5bfdb0b7c0a..e71928bfc03 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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) {