Merge branch 'dev' into 12-dev

This commit is contained in:
fredtempez 2022-03-14 09:39:59 +01:00
commit 9cc840d3ba

View File

@ -972,6 +972,14 @@ if ($this->getData(['core', 'dataVersion']) < 11400) {
]; ];
$this->setData(['fonts', 'imported', $fonts]); $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 // Mise à jour
$this->setData(['core', 'dataVersion', 11400]); $this->setData(['core', 'dataVersion', 11400]);
} }