diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-02 17:59:18 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-10 23:31:11 +0200 |
commit | 72b2324b68c51baf140c6fab7957b59c31de4832 (patch) | |
tree | 9c5667ecbfaca027c6bd3fe0c28e0477ea38245c /lib/base.php | |
parent | 3722928c46d0e4ec1935e4da4087b76aee24dd5d (diff) | |
download | nextcloud-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.php | 1 |
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; |