forked from ZwiiCMS-Team/ZwiiCMS
[10.0.003.dev] Procédure d'update
This commit is contained in:
parent
ceac534fb7
commit
7f2f2a4b56
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user