[10.0.003.dev] Procédure d'update

This commit is contained in:
Fred Tempez 2019-12-10 15:55:29 +01:00
parent ceac534fb7
commit 7f2f2a4b56

View File

@ -34,7 +34,7 @@ class common {
const TEMP_DIR = 'site/tmp/'; const TEMP_DIR = 'site/tmp/';
// Numéro de version // Numéro de version
const ZWII_VERSION = '10.0.002.dev'; const ZWII_VERSION = '10.0.003.dev';
public static $actions = []; public static $actions = [];
public static $coreModuleIds = [ public static $coreModuleIds = [
@ -1105,6 +1105,13 @@ class common {
$this->setData(['core', 'dataVersion', 9212]); $this->setData(['core', 'dataVersion', 9212]);
//$this->SaveData(); //$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]);
}
} }
} }