summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-02 17:59:18 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-10 23:31:11 +0200
commit72b2324b68c51baf140c6fab7957b59c31de4832 (patch)
tree9c5667ecbfaca027c6bd3fe0c28e0477ea38245c /lib/base.php
parent3722928c46d0e4ec1935e4da4087b76aee24dd5d (diff)
downloadnextcloud-server-72b2324b68c51baf140c6fab7957b59c31de4832.tar.gz
nextcloud-server-72b2324b68c51baf140c6fab7957b59c31de4832.zip
Move loading of routes to OC::getRouter function
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 43588944d04..0d9ececc0c9 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -278,6 +278,7 @@ class OC{
public static function getRouter() {
if (!isset(OC::$router)) {
OC::$router = new OC_Router();
+ OC::$router->loadRoutes();
}
return OC::$router;