summaryrefslogtreecommitdiffstats
path: root/inc/lib_base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-08-03 17:43:54 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-08-03 17:46:41 +0200
commit8b2ff8dcad92e66fe35edcafbb43a60d20ef19d7 (patch)
tree472b81882db3c6eff99573e28699dcd5e0502d88 /inc/lib_base.php
parent9c56a1e6085865e626c930bfcfc4e32638414b26 (diff)
downloadnextcloud-server-8b2ff8dcad92e66fe35edcafbb43a60d20ef19d7.tar.gz
nextcloud-server-8b2ff8dcad92e66fe35edcafbb43a60d20ef19d7.zip
change the user backend after we load the plugins
Diffstat (limited to 'inc/lib_base.php')
-rw-r--r--inc/lib_base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php
index 49dfaf811c1..d11137da307 100644
--- a/inc/lib_base.php
+++ b/inc/lib_base.php
@@ -89,6 +89,8 @@ oc_require_once('lib_plugin.php');
OC_PLUGIN::loadPlugins();
+OC_USER::setBackend($CONFIG_BACKEND);
+
if(!is_dir($CONFIG_DATADIRECTORY_ROOT)){
@mkdir($CONFIG_DATADIRECTORY_ROOT) or die("Can't create data directory ($CONFIG_DATADIRECTORY_ROOT), you can usually fix this by setting the owner of '$SERVERROOT' to the user that the web server uses (www-data for debian/ubuntu)");
}