maj update et defaultdata

This commit is contained in:
Deltacms 2023-02-02 11:50:05 +01:00
parent ad962c7851
commit dc721d08c2
2 changed files with 5 additions and 2 deletions

View File

@ -105,7 +105,6 @@ if ($this->getData(['core', 'dataVersion']) < 4403) {
// Mise à jour
$this->setData(['core', 'dataVersion', 4403]);
}
if ($this->getData(['core', 'dataVersion']) < 4404) {
if( $this->getData(['theme', 'site', 'width']) === '750px') $this->setData(['theme', 'site', 'width', '75vw']);
if( $this->getData(['theme', 'site', 'width']) === '960px') $this->setData(['theme', 'site', 'width', '85vw']);
@ -113,4 +112,8 @@ if ($this->getData(['core', 'dataVersion']) < 4404) {
// Mise à jour
$this->setData(['core', 'dataVersion', 4404]);
}
if ($this->getData(['core', 'dataVersion']) < 4405) {
// Mise à jour
$this->setData(['core', 'dataVersion', 4405]);
}
?>

View File

@ -69,7 +69,7 @@ class init extends common {
]
],
'core' => [
'dataVersion' => 4404,
'dataVersion' => 4405,
'lastBackup' => 0,
'lastClearTmp' => 0,
'lastAutoUpdate' => 0,