v9.0.0 export theme ok
This commit is contained in:
parent
3b9cf3b7ea
commit
6eab8bad97
@ -549,6 +549,8 @@ class theme extends common {
|
|||||||
header('Content-Disposition: attachment; filename="' . $zipFilename . '"');
|
header('Content-Disposition: attachment; filename="' . $zipFilename . '"');
|
||||||
header('Content-Length: ' . filesize('site/tmp/' . $zipFilename));
|
header('Content-Length: ' . filesize('site/tmp/' . $zipFilename));
|
||||||
readfile('site/tmp/' . $zipFilename);
|
readfile('site/tmp/' . $zipFilename);
|
||||||
|
unlink ('site/tmp/' . $zipFilename);
|
||||||
|
rmdir ($folderTemp);
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'display' => self::DISPLAY_RAW
|
'display' => self::DISPLAY_RAW
|
||||||
|
Loading…
Reference in New Issue
Block a user