Option d’Activation du fichier global de configuration.
This commit is contained in:
parent
c539c6d00d
commit
4ee6cedbe6
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ class Conf
|
|||
$filesList = explode(":", $this->global->LOCAL_CONSTS_FILES);
|
||||
foreach ($filesList as $file) {
|
||||
$file = dol_sanitizeFileName($file);
|
||||
include_once DOL_DOCUMENT_ROOT."/".$file."/".$file."_consts.php"; // This file can run code like setting $this->global->XXX vars.
|
||||
dol_include_once($file."/".$file."_consts.php"); // This file can run code like setting $this->global->XXX vars.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue