diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 0fbee62..e79b69d 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -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([