Browse Source

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

10600
SylvainLelievre 3 months ago
parent
commit
2ad1036a7f
  1. 7
      core/class/helper.class.php

7
core/class/helper.class.php

@ -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] = [

Loading…
Cancel
Save