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);
|
$data = $this->import(self::FILE_DIR.'source/' . $zipFilename);
|
||||||
if ($data['success']) {
|
if ($data['success']) {
|
||||||
// Régénérer theme.css et admin.css
|
// 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]);
|
//$this->setData(['admin', 'maj', true]);
|
||||||
// Expires semble sans effet un ctrl + F5 sera nécessaire
|
header("Refresh: 0");
|
||||||
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
|
|
||||||
header("Location: index.php");
|
|
||||||
} else {
|
} else {
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
|
|
Loading…
Reference in New Issue