Fix remove warnings
This commit is contained in:
parent
8152c60878
commit
8a7a0b80e2
@ -226,10 +226,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";
|
||||
foreach ($file2bddconsts as $key=>$value) {
|
||||
$this->global->$key=$value;
|
||||
}
|
||||
include_once DOL_DOCUMENT_ROOT . "/".$file."/".$file."_consts.php"; // This file can run code like setting $this->global->XXX vars.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user