readded ocs routes
This commit is contained in:
parent
f80bc4ed53
commit
5ccbfd9079
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue