Bug installation module non corrigé
This commit is contained in:
parent
240a3afd9e
commit
d0854b9302
@ -162,20 +162,22 @@ class install extends common
|
|||||||
$this->getInput('installDefaultData', helper::FILTER_BOOLEAN) === false
|
$this->getInput('installDefaultData', helper::FILTER_BOOLEAN) === false
|
||||||
&& self::$i18nContent === 'fr_FR'
|
&& self::$i18nContent === 'fr_FR'
|
||||||
) {
|
) {
|
||||||
$this->initData('page', self::$i18nContent, true);
|
$this->initData('module', 'fr_FR', true);
|
||||||
$this->initData('module', self::$i18nContent, true);
|
$this->initData('page', 'fr_FR', true);
|
||||||
$this->setData(['module', 'blog', 'posts', 'mon-premier-article', 'userId', $userId]);
|
$this->setData(['module', 'blog', 'posts', 'mon-premier-article', 'userId', $userId]);
|
||||||
$this->setData(['module', 'blog', 'posts', 'mon-deuxieme-article', 'userId', $userId]);
|
$this->setData(['module', 'blog', 'posts', 'mon-deuxieme-article', 'userId', $userId]);
|
||||||
$this->setData(['module', 'blog', 'posts', 'mon-troisieme-article', 'userId', $userId]);
|
$this->setData(['module', 'blog', 'posts', 'mon-troisieme-article', 'userId', $userId]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Jeu réduit pour les pages étrangères
|
// Nettoyage fr par défaut
|
||||||
if (self::$i18nContent !== 'fr_FR') {
|
if (
|
||||||
$this->initData('page', self::$i18nContent, false);
|
self::$i18nContent !== 'fr_FR'
|
||||||
$this->initData('module', self::$i18nContent, false);
|
|
||||||
|
) {
|
||||||
|
|
||||||
if (is_dir(self::DATA_DIR . 'fr_FR'))
|
if (is_dir(self::DATA_DIR . 'fr_FR'))
|
||||||
$this->removeDir(self::DATA_DIR . 'fr_FR');
|
$this->removeDir(self::DATA_DIR . 'fr_FR');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sauvegarder la configuration du Proxy
|
// Sauvegarder la configuration du Proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user