aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2014-04-10 12:22:34 +0100
committerTom Needham <needham.thomas@gmail.com>2014-04-10 12:22:34 +0100
commit654d5af39434f9555e05b75b2af6fc99d798459d (patch)
tree9f42c634cb0c1226476bf9d92278265926b18781 /lib
parent6cc578d1a7e8b2ff77d45baa81465b376f8049ef (diff)
parentdb95f49b7e454a5168d502977488bf7cd29f7e65 (diff)
downloadnextcloud-server-654d5af39434f9555e05b75b2af6fc99d798459d.tar.gz
nextcloud-server-654d5af39434f9555e05b75b2af6fc99d798459d.zip
Merge pull request #8027 from owncloud/routes-ocs
Load all routes when matching an ocs route
Diffstat (limited to 'lib')
-rw-r--r--lib/private/route/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/route/router.php b/lib/private/route/router.php
index 1f0a23ee124..6ad016b2a31 100644
--- a/lib/private/route/router.php
+++ b/lib/private/route/router.php
@@ -183,7 +183,7 @@ class Router implements IRouter {
// empty string / 'apps' / $app / rest of the route
list(, , $app,) = explode('/', $url, 4);
$this->loadRoutes($app);
- } else if (substr($url, 0, 6) === '/core/' or substr($url, 0, 5) === '/ocs/' or substr($url, 0, 10) === '/settings/') {
+ } else if (substr($url, 0, 6) === '/core/' or substr($url, 0, 10) === '/settings/') {
$this->loadRoutes('core');
} else {
$this->loadRoutes();