Skip to content
Snippets Groups Projects
Commit 5ccbfd90 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

readded ocs routes

parent f80bc4ed
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment