Skip to content
Snippets Groups Projects
Commit 95d3b83a authored by Bart Visscher's avatar Bart Visscher
Browse files

Create OC_Router in OC::init

parent 0271bfa3
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment