forked from ZwiiCMS-Team/ZwiiCMS
Mise à jour de 'core/class/helper.class.php'
This commit is contained in:
parent
e90da78bad
commit
2ad1036a7f
@ -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…
Reference in New Issue
Block a user