mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
change the user backend after we load the plugins
This commit is contained in:
parent
9c56a1e608
commit
8b2ff8dcad
1 changed files with 2 additions and 0 deletions
|
|
@ -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)");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue