[9.0.17] default data display version

This commit is contained in:
Fred Tempez 2019-04-09 09:39:19 +02:00
parent 5b3d748593
commit 1478fec284
3 changed files with 10 additions and 2 deletions

3
.gitignore vendored
View File

@ -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

View File

@ -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();
}
}
}

View File

@ -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,