From dc721d08c29f0f5340a18889173da0b256ac0c14 Mon Sep 17 00:00:00 2001 From: Deltacms Date: Thu, 2 Feb 2023 11:50:05 +0100 Subject: [PATCH] maj update et defaultdata --- core/include/update.inc.php | 5 ++++- core/module/install/ressource/defaultdata.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 0bf1247..3b6f2cd 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -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]); +} ?> diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 25c579a..997ec6c 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -69,7 +69,7 @@ class init extends common { ] ], 'core' => [ - 'dataVersion' => 4404, + 'dataVersion' => 4405, 'lastBackup' => 0, 'lastClearTmp' => 0, 'lastAutoUpdate' => 0,