Mise à jour de 'core/class/helper.class.php'

This commit is contained in:
SylvainLelievre 2021-04-06 17:19:39 +02:00
parent e90da78bad
commit 2ad1036a7f

View File

@ -177,13 +177,10 @@ class helper {
$delete = true;
}
// Constante DATADIRECTORY
if ( array_key_exists('DATADIRECTORY', $class_constants)
&& $class_constants['DATADIRECTORY'] !== []
&& is_array($class_constants['DATADIRECTORY'])
) {
if ( array_key_exists('DATADIRECTORY', $class_constants)) {
$dataDirectory = $value::DATADIRECTORY;
} else {
$dataDirectory = [];
$dataDirectory = '';
}
// Affection
$modules [$value] = [