blacklist non créé + une seule variable des description des données

This commit is contained in:
fredtempez 2020-10-27 21:21:30 +01:00
parent cff5837d41
commit c88fbe4092
1 changed files with 1 additions and 12 deletions

View File

@ -56,15 +56,6 @@ class common {
'theme',
'user'
];
public static $dataStage = [
'config',
'core',
'module',
'page',
'user',
'theme',
'admin'
];
public static $accessList = [
'user',
'theme',
@ -170,8 +161,6 @@ class common {
'blacklist' => ''
];
/**
* Constructeur commun
*/
@ -209,7 +198,7 @@ class common {
// Installation fraîche, initialisation des modules manquants
// La langue d'installation par défaut est fr
foreach (self::$dataStage as $stageId) {
foreach ($this->dataFiles as $stageId => $item) {
$folder = $this->dirData ($stageId, 'fr');
if (file_exists($folder . $stageId .'.json') === false) {
$this->initData($stageId,'fr');