]> source.dussan.org Git - nextcloud-server.git/commitdiff
change the user backend after we load the plugins
authorRobin Appelman <icewind1991@gmail.com>
Tue, 3 Aug 2010 15:43:54 +0000 (17:43 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Tue, 3 Aug 2010 15:46:41 +0000 (17:46 +0200)
inc/lib_base.php

index 49dfaf811c11235d5f34e1f0f8162db89c6dd057..d11137da30755df3b59c5bddf405d4675b555c91 100644 (file)
@@ -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)");
 }