[-] BO : fix #PSCFV-4519
This commit is contained in:
@@ -422,7 +422,6 @@ class AdminTranslationsControllerCore extends AdminController
|
|||||||
header('Content-type: application/octet-stream');
|
header('Content-type: application/octet-stream');
|
||||||
header('Content-Disposition: attachment; filename="'.$this->lang_selected->iso_code.'.gzip'.'"');
|
header('Content-Disposition: attachment; filename="'.$this->lang_selected->iso_code.'.gzip'.'"');
|
||||||
header('Content-Transfer-Encoding: binary');
|
header('Content-Transfer-Encoding: binary');
|
||||||
header('Content-Length: '.filesize($file_name));
|
|
||||||
ob_end_flush();
|
ob_end_flush();
|
||||||
@readfile($file_name);
|
@readfile($file_name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user