From 928a77ec7cb02a5038807feb2bb24033ee738c62 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 15 Jul 2019 10:32:56 +0200 Subject: [PATCH] =?UTF-8?q?[9.2.01]=20erreur=20de=20sauvegarde=20du=20th?= =?UTF-8?q?=C3=A8me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 44717816..2be8d578 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -596,8 +596,8 @@ class theme extends common { $zip = new ZipArchive(); if ($zip->open(self::TEMP_DIR . $zipFilename, ZipArchive::CREATE | ZipArchive::OVERWRITE ) === TRUE) { $zip->addFile(self::DATA_DIR.'theme.json',self::DATA_DIR.'theme.json'); - $zip->addFile(self::DATA_DIR.'theme.json',self::DATA_DIR.'theme.css'); - $zip->addFile(self::DATA_DIR.'theme.json',self::DATA_DIR.'custom.css'); + $zip->addFile(self::DATA_DIR.'theme.css',self::DATA_DIR.'theme.css'); + $zip->addFile(self::DATA_DIR.'custom.css',self::DATA_DIR.'custom.css'); if ($this->getData(['theme','body','image']) !== '' ) { $zip->addFile(self::FILE_DIR.'source/'.$this->getData(['theme','body','image']), self::FILE_DIR.'source/'.$this->getData(['theme','body','image'])