From 746f8d5a32071e5ecf954475b6a0727dd11952c5 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 14 Mar 2022 09:39:49 +0100 Subject: [PATCH] =?UTF-8?q?rafraichir=20les=20th=C3=A8mes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/include/update.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 4680556d..76114141 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -916,6 +916,14 @@ if ($this->getData(['core', 'dataVersion']) < 11400) { ]; $this->setData(['fonts', 'imported', $fonts]); + // Rafraichir les thèmes + if (file_exists(self::DATA_DIR . 'admin.css')) { + unlink (self::DATA_DIR . 'admin.css'); + } + if (file_exists(self::DATA_DIR . 'theme.css')) { + unlink (self::DATA_DIR . 'theme.css'); + } + // Mise à jour $this->setData(['core', 'dataVersion', 11400]); }