Skip to content

Commit

Permalink
Update composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ctf0 committed Jul 14, 2020
1 parent 8a3336b commit 87e2e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require": {
"php": "~7.0",
"illuminate/support": "^6.0 || ^7.0",
"maennchen/zipstream-php": "~1.0",
"maennchen/zipstream-php": ">=1.0",
"ctf0/package-changelog": "*",
"jhofm/flysystem-iterator": "^2.2"
},
Expand Down
1 change: 1 addition & 0 deletions src/App/Controllers/Modules/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ protected function getZipOptions()
{
$options = new Archive();
// $options->setZeroHeader(true);
// $options->setEnableZip64(false)
$options->setContentType('application/octet-stream');
$options->setSendHttpHeaders(true);
$options->setHttpHeaderCallback('header');
Expand Down

0 comments on commit 87e2e93

Please sign in to comment.