[9.0.17] default data display version

pull/5/head
Fred Tempez 4 years ago
parent 5b3d748593
commit 1478fec284

3
.gitignore vendored

@ -23,4 +23,5 @@ site/file/thumb/*
# Trucs
.gitignore
core/vendor/tinymce/link_list.json
core/vendor/tinymce/link_list.json
core/vendor/tinymce/link_list.json
site/tmp/.htaccess

@ -775,6 +775,12 @@ class common {
$this->setData(['core', 'dataVersion', 9011]);
$this->SaveData();
}
// Version 9.0.17
if($this->getData(['core', 'dataVersion']) < 9017) {
$this->setData(['config','displayVersion', true ]);
$this->setData(['core', 'dataVersion', 9017]);
$this->SaveData();
}
}
}

@ -19,7 +19,8 @@ class install extends common {
],
'timezone' => 'Europe/Paris',
'title' => 'Zwii, votre site en quelques clics !',
'itemsperPage' => 10
'itemsperPage' => 10,
'displayVersion' => true
],
'core' => [
'dataVersion' => 0,

Loading…
Cancel
Save