From 6eab8bad974d13bc80ff6547def9b9851330c295 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 27 Dec 2018 10:21:29 +0100 Subject: [PATCH] v9.0.0 export theme ok --- core/module/theme/theme.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index eb4c2d8c..80880f04 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -549,6 +549,8 @@ class theme extends common { header('Content-Disposition: attachment; filename="' . $zipFilename . '"'); header('Content-Length: ' . filesize('site/tmp/' . $zipFilename)); readfile('site/tmp/' . $zipFilename); + unlink ('site/tmp/' . $zipFilename); + rmdir ($folderTemp); // Valeurs en sortie $this->addOutput([ 'display' => self::DISPLAY_RAW