From 3287c300f5ced3cb37e8409ce7bdc714293855ec Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 28 Nov 2020 10:53:33 +0100 Subject: [PATCH] =?UTF-8?q?bug=20installation=20vierge=20et=20r=C3=A9insta?= =?UTF-8?q?llation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/install/install.php | 2 ++ core/module/install/ressource/defaultdata.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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,