From 7f2f2a4b56c6050ab801aa0d9d44b957574f75e5 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 10 Dec 2019 15:55:29 +0100 Subject: [PATCH] =?UTF-8?q?[10.0.003.dev]=20Proc=C3=A9dure=20d'update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 2ba5c33a..fb5ffa6d 100644 --- a/core/core.php +++ b/core/core.php @@ -34,7 +34,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.002.dev'; + const ZWII_VERSION = '10.0.003.dev'; public static $actions = []; public static $coreModuleIds = [ @@ -1105,6 +1105,13 @@ class common { $this->setData(['core', 'dataVersion', 9212]); //$this->SaveData(); } + // Version 10.0.00 + if($this->getData(['core', 'dataVersion']) < 10000) { + // Données de la barre de langue dans le menu + $this->setData(['theme','menu','burgerTitle',true]); + $this->setData(['theme','menu','i18nPosition', 'right']); + $this->setData(['core', 'dataVersion', 10000]); + } } }