diff --git a/core/module/install/install.php b/core/module/install/install.php index e9fef5a2..3ec0e161 100755 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -41,6 +41,8 @@ class install extends common { // Soumission du formulaire if($this->isPost()) { $success = true; + // Nettoyer le cookie de langue dans le cas d'une réinstallation + helper::deleteCookie('ZWII_I18N_SITE'); // Double vérification pour le mot de passe if($this->getInput('installPassword', helper::FILTER_STRING_SHORT, true) !== $this->getInput('installConfirmPassword', helper::FILTER_STRING_SHORT, true)) { self::$inputNotices['installConfirmPassword'] = 'Incorrect'; diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index e9c08865..7b02a767 100755 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -50,7 +50,7 @@ class init extends common { ], ], 'core' => [ - 'dataVersion' => 10306, + 'dataVersion' => 10400, 'lastBackup' => 0, 'lastClearTmp' => 0, 'lastAutoUpdate' => 0,