diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-03 13:01:20 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-04-03 13:01:20 +0200 |
commit | db95f49b7e454a5168d502977488bf7cd29f7e65 (patch) | |
tree | bb11251ef3bba35f60506106443a9cf1a4b74ec4 /lib/private/route | |
parent | 54783550e8736e0507be05fdc8711d8b30218d72 (diff) | |
download | nextcloud-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.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(); |