summaryrefslogtreecommitdiffstats
path: root/lib/router.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-12 16:52:36 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-12 16:52:36 +0200
commitdb4111f6d50d5bf2195d4a082ffc9dcea1d911ce (patch)
tree60395e2413ce28434b3d27461f11ed4bd70f0a46 /lib/router.php
parent8c024947440e2f15a9effe5fe6d91e60e8571a07 (diff)
downloadnextcloud-server-db4111f6d50d5bf2195d4a082ffc9dcea1d911ce.tar.gz
nextcloud-server-db4111f6d50d5bf2195d4a082ffc9dcea1d911ce.zip
Routing: Add some core routes
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index eca59d6dc3b..65fc51aff2c 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -34,6 +34,8 @@ class OC_Router {
$this->root->addCollection($collection, '/apps/'.$app);
}
}
+ $this->useCollection('root');
+ require_once('core/routes.php');
}
protected function getCollection($name) {