Bug rechargement
This commit is contained in:
parent
6229ea4478
commit
d300ab1e94
@ -346,15 +346,15 @@ class common
|
|||||||
// Charge la configuration
|
// Charge la configuration
|
||||||
foreach ($this->configFiles as $stageId => $item) {
|
foreach ($this->configFiles as $stageId => $item) {
|
||||||
if (file_exists(self::DATA_DIR . $stageId . '.json') === false) {
|
if (file_exists(self::DATA_DIR . $stageId . '.json') === false) {
|
||||||
$this->loadConfig($stageId);
|
$this->loadConfig($stageId);
|
||||||
common::$coreNotices[] = $stageId;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Charge le site d'accueil
|
// Charge le site d'accueil
|
||||||
foreach ($this->courseFiles as $stageId => $item) {
|
foreach ($this->courseFiles as $stageId => $item) {
|
||||||
if (file_exists(self::DATA_DIR . self::$courseContent . '/' . $stageId . '.json') === false) {
|
if (
|
||||||
|
file_exists(self::DATA_DIR . self::$courseContent . '/' . $stageId . '.json') === false
|
||||||
|
) {
|
||||||
$this->loadCourse($stageId, self::$courseContent);
|
$this->loadCourse($stageId, self::$courseContent);
|
||||||
common::$coreNotices[] = $stageId;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -650,7 +650,7 @@ class common
|
|||||||
$this->setPage($key, $value, $path);
|
$this->setPage($key, $value, $path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
common::$coreNotices[] = $module;
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -664,7 +664,7 @@ class common
|
|||||||
require_once('core/module/install/ressource/defaultdata.php');
|
require_once('core/module/install/ressource/defaultdata.php');
|
||||||
// Installation des données des autres modules cad theme profil font config, admin et core
|
// Installation des données des autres modules cad theme profil font config, admin et core
|
||||||
$this->setData([$module, init::$defaultData[$module]]);
|
$this->setData([$module, init::$defaultData[$module]]);
|
||||||
|
common::$coreNotices[] = $module;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user