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]); } } }