From 5ccbfd907942648a9b50131bb9a43122b8147e0d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 7 Jan 2013 15:48:45 +0100 Subject: [PATCH] readded ocs routes --- lib/router.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/router.php b/lib/router.php index 070d31999b..504d2f357c 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;