Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
99eec6b32c
@ -205,6 +205,17 @@ class Conf
|
||||
|
||||
$db->free($resql);
|
||||
}
|
||||
// Include local constants files and fetch their values to the corresponding database constants
|
||||
if(! empty($this->global->LOCAL_CONSTS_FILES)) {
|
||||
$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) {
|
||||
$conf->global->$key=constant($value);
|
||||
}
|
||||
}
|
||||
}
|
||||
//var_dump($this->modules);
|
||||
//var_dump($this->modules_parts['theme']);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user