summaryrefslogtreecommitdiffstats
path: root/lib/private/route
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-03 13:01:20 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-03 13:01:20 +0200
commitdb95f49b7e454a5168d502977488bf7cd29f7e65 (patch)
treebb11251ef3bba35f60506106443a9cf1a4b74ec4 /lib/private/route
parent54783550e8736e0507be05fdc8711d8b30218d72 (diff)
downloadnextcloud-server-db95f49b7e454a5168d502977488bf7cd29f7e65.tar.gz
nextcloud-server-db95f49b7e454a5168d502977488bf7cd29f7e65.zip
Load all routes when matching an ocs route
Diffstat (limited to 'lib/private/route')
-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();