diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-01-07 15:48:45 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-01-07 15:48:45 +0100 |
commit | 5ccbfd907942648a9b50131bb9a43122b8147e0d (patch) | |
tree | e67399fe072e5613458f49011c3c0c3a1be51d88 /lib/router.php | |
parent | f80bc4ed5370af66e5275dd9fb92d1a61d38b46b (diff) | |
download | nextcloud-server-5ccbfd907942648a9b50131bb9a43122b8147e0d.tar.gz nextcloud-server-5ccbfd907942648a9b50131bb9a43122b8147e0d.zip |
readded ocs routes
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 070d31999b1..504d2f357c5 100644 --- a/lib/router.php +++ b/lib/router.php @@ -58,6 +58,11 @@ class OC_Router { * loads the api routes */ public function loadRoutes() { + // include ocs routes + require_once(OC::$SERVERROOT.'/ocs/routes.php'); + $collection = $this->getCollection('ocs'); + $this->root->addCollection($collection, '/ocs'); + foreach($this->getRoutingFiles() as $app => $file) { $this->useCollection($app); require_once $file; |