diff options
author | Tom Needham <needham.thomas@gmail.com> | 2014-04-10 12:22:34 +0100 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2014-04-10 12:22:34 +0100 |
commit | 654d5af39434f9555e05b75b2af6fc99d798459d (patch) | |
tree | 9f42c634cb0c1226476bf9d92278265926b18781 /lib | |
parent | 6cc578d1a7e8b2ff77d45baa81465b376f8049ef (diff) | |
parent | db95f49b7e454a5168d502977488bf7cd29f7e65 (diff) | |
download | nextcloud-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.php | 2 |
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(); |