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