Manage theme

This commit is contained in:
Deltacms 2023-07-09 08:27:12 +02:00
parent 38e78d15f0
commit ac2cbeb377
1 changed files with 2 additions and 4 deletions

View File

@ -761,11 +761,9 @@ class theme extends common {
$data = $this->import(self::FILE_DIR.'source/' . $zipFilename);
if ($data['success']) {
// Régénérer theme.css et admin.css
if (file_exists(self::DATA_DIR . 'theme.css')) unlink(self::DATA_DIR . 'theme.css');
//if (file_exists(self::DATA_DIR . 'theme.css')) unlink(self::DATA_DIR . 'theme.css');
//$this->setData(['admin', 'maj', true]);
// Expires semble sans effet un ctrl + F5 sera nécessaire
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
header("Location: index.php");
header("Refresh: 0");
} else {
// Valeurs en sortie
$this->addOutput([