forked from ZwiiCMS-Team/ZwiiCMS
Warning causé à l'installation par la page de redirection
This commit is contained in:
parent
0e4971da17
commit
67c255952b
@ -587,7 +587,9 @@ class common {
|
||||
if ($sampleSite === true) {
|
||||
foreach(init::$siteContent as $key => $value) {
|
||||
// Creation du contenu de la page
|
||||
file_put_contents(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $key, 'content']), $value);
|
||||
if (!empty($this->getData(['page', $key, 'content'])) ) {
|
||||
file_put_contents(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $key, 'content']), $value);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Créer la page d'accueil
|
||||
|
Loading…
Reference in New Issue
Block a user