rafraichir les thèmes

This commit is contained in:
fredtempez 2022-03-14 09:39:49 +01:00
parent 1d4913417c
commit 746f8d5a32
1 changed files with 8 additions and 0 deletions

View File

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