From 8b2ff8dcad92e66fe35edcafbb43a60d20ef19d7 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Tue, 3 Aug 2010 17:43:54 +0200
Subject: [PATCH] change the user backend after we load the plugins

---
 inc/lib_base.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inc/lib_base.php b/inc/lib_base.php
index 49dfaf811c..d11137da30 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)");
 }
-- 
GitLab