v9.0.0 export theme ok

This commit is contained in:
fredtempez 2018-12-27 10:21:29 +01:00
parent 3b9cf3b7ea
commit 6eab8bad97

View File

@ -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