mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Fix: Error on creating temp directory for users
This commit is contained in:
@@ -1082,7 +1082,7 @@ class DolibarrModules
|
||||
$name = $constname.strtoupper($this->dirs[$key][0]);
|
||||
}
|
||||
|
||||
// Define directory full path
|
||||
// Define directory full path ($dir must start with "/")
|
||||
if (empty($conf->global->MAIN_MODULE_MULTICOMPANY) || $conf->entity == 1) $fulldir = DOL_DATA_ROOT.$dir;
|
||||
else $fulldir = DOL_DATA_ROOT."/".$conf->entity.$dir;
|
||||
// Create dir if it does not exists
|
||||
|
||||
Reference in New Issue
Block a user