From 87e2e93de0fb99fa210470fe0f2e00da129dce28 Mon Sep 17 00:00:00 2001 From: Muah Date: Tue, 14 Jul 2020 13:55:03 +0200 Subject: [PATCH] Update composer.json --- composer.json | 2 +- src/App/Controllers/Modules/Download.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8c9bbf7..9795dda 100644 --- a/composer.json +++ b/composer.json @@ -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" }, diff --git a/src/App/Controllers/Modules/Download.php b/src/App/Controllers/Modules/Download.php index df03165..321e53a 100644 --- a/src/App/Controllers/Modules/Download.php +++ b/src/App/Controllers/Modules/Download.php @@ -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');