summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php
index 4fa38286bef..8c550d74fb8 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -88,15 +88,16 @@ if( !OC_Config::getValue( "installed", false )){
$_SESSION['user_id'] = '';
}
+
+OC_User::useBackend( OC_Config::getValue( "userbackend", "database" ));
+OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" ));
+
// Load Apps
// This includes plugins for users and filesystems as well
if(!$error and !$RUNTIME_NOAPPS ){
OC_App::loadApps();
}
-OC_User::useBackend( OC_Config::getValue( "userbackend", "database" ));
-OC_Group::setBackend( OC_Config::getValue( "groupbackend", "database" ));
-
// Was in required file ... put it here
OC_Filesystem::registerStorageType('local','OC_Filestorage_Local',array('datadir'=>'string'));