From 88f58024873bbc65238117280daf5c0c9df24b7e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 6 May 2009 14:02:39 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20en=20multicompany,=20un=20user=20pourra?= =?UTF-8?q?=20=EAtre=20commun=20=E0=20toutes=20les=20entit=E9s,=20on=20lai?= =?UTF-8?q?sse=20donc=20le=20rep=20"users"=20=E0=20la=20racine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/core/conf.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/conf.class.php b/htdocs/core/conf.class.php index 2862914d061..4b841f0a160 100644 --- a/htdocs/core/conf.class.php +++ b/htdocs/core/conf.class.php @@ -165,6 +165,7 @@ class Conf if (empty($this->global->MAIN_LANG_DEFAULT)) $this->global->MAIN_LANG_DEFAULT="en_US"; $rootfordata = DOL_DATA_ROOT; + $rootforuser = DOL_DATA_ROOT; // If multicompany module is enabled, we redefine the root of data if (! empty($this->global->MAIN_MODULE_MULTICOMPANY) && ! empty($this->entity) && $this->entity > 1) $rootfordata.='/'.$this->entity; @@ -188,8 +189,8 @@ class Conf // for backward compatibility. // Module user - $this->user->dir_output=$rootfordata."/users"; - $this->user->dir_temp=$rootfordata."/users/temp"; + $this->user->dir_output=$rootforuser."/users"; + $this->user->dir_temp=$rootforuser."/users/temp"; // Module RSS $this->externalrss->dir_output=$rootfordata."/rss";