datadirectory si erreur de syntaxe
This commit is contained in:
parent
af72107c79
commit
0e4d1ed570
@ -170,7 +170,10 @@ class helper {
|
||||
$delete = true;
|
||||
}
|
||||
// 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;
|
||||
} else {
|
||||
$dataDirectory = ['fr/module.json'];
|
||||
|
Loading…
Reference in New Issue
Block a user