diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-07-30 20:50:32 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-10 23:03:57 +0200 |
commit | 3e8b6e816a3f89ac20f22fdde630946058e5d184 (patch) | |
tree | 3c23313e15e4b9fbeb6091ae612d8f44be905eca /lib/base.php | |
parent | 9e80f0954d45465dfba261c5b5a501e77eb595c9 (diff) | |
download | nextcloud-server-3e8b6e816a3f89ac20f22fdde630946058e5d184.tar.gz nextcloud-server-3e8b6e816a3f89ac20f22fdde630946058e5d184.zip |
Create OC_Router in OC::init
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 5041f43648e..29a3502e352 100644 --- a/lib/base.php +++ b/lib/base.php @@ -62,6 +62,10 @@ class OC{ * requested file of app */ public static $REQUESTEDFILE = ''; + /* + * OC router + */ + public static $router = null; /** * check if owncloud runs in cli mode */ @@ -354,6 +358,8 @@ class OC{ OC_User::useBackend(new OC_User_Database()); OC_Group::useBackend(new OC_Group_Database()); + OC::$router = new OC_Router(); + // Load Apps // This includes plugins for users and filesystems as well global $RUNTIME_NOAPPS; |