Manage theme
This commit is contained in:
parent
38e78d15f0
commit
ac2cbeb377
|
@ -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([
|
||||
|
|
Loading…
Reference in New Issue