From 5fb09bd80236464e8a8fa1920cfcb6f9a9185971 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 26 Feb 2021 21:42:30 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20th=C3=A8mes=20dans?= =?UTF-8?q?=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index fd396300..8d0fe0ae 100755 --- a/core/core.php +++ b/core/core.php @@ -1573,10 +1573,15 @@ class common { $this->setData(['core', 'dataVersion', 10400]); - /** - * mettre à jour defaultdata - */ + } + // Version 10.4.05 + if ($this->getData(['core', 'dataVersion']) < 10405) { + // Mise à jour forcée des thèmes + unlink (self::DATA_DIR . 'admin.css'); + unlink (self::DATA_DIR . 'theme.css'); + + $this->setData(['core', 'dataVersion', 10405]); } } }