Skip to content

Commit

Permalink
Fixed issue : Good header for zip files download
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Mar 7, 2017
1 parent 9b16f5e commit fcf7408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/responses.php
Expand Up @@ -904,7 +904,7 @@ private function _zipFiles($iSurveyID, $responseIds, $zipfilename)
{
@ob_clean();
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Type: application/zip, application/octet-stream');
header('Content-Disposition: attachment; filename=' . basename($zipfilename));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
Expand Down

0 comments on commit fcf7408

Please sign in to comment.