Browse Source

rafraichir les thèmes

12_dev
fredtempez 4 months ago
parent
commit
746f8d5a32
  1. 8
      core/include/update.inc.php

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

Loading…
Cancel
Save