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;
|
$delete = true;
|
||||||
}
|
}
|
||||||
// Constante DATADIRECTORY
|
// Constante DATADIRECTORY
|
||||||
if ( array_key_exists('DATADIRECTORY', $class_constants)
|
if ( array_key_exists('DATADIRECTORY', $class_constants)) {
|
||||||
&& $class_constants['DATADIRECTORY'] !== []
|
|
||||||
&& is_array($class_constants['DATADIRECTORY'])
|
|
||||||
) {
|
|
||||||
$dataDirectory = $value::DATADIRECTORY;
|
$dataDirectory = $value::DATADIRECTORY;
|
||||||
} else {
|
} else {
|
||||||
$dataDirectory = [];
|
$dataDirectory = '';
|
||||||
}
|
}
|
||||||
// Affection
|
// Affection
|
||||||
$modules [$value] = [
|
$modules [$value] = [
|
||||||
|
Loading…
Reference in New Issue
Block a user