Merge pull request #5311 from nextcloud/revert-5116-zipstreamer

Revert "Always enable Zip64 extension for zipstreamer"
This commit is contained in:
Morris Jobke 2017-06-09 08:56:20 -05:00 committed by GitHub
commit 1286e9716b
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Streamer {
if ($request->isUserAgent($this->preferTarFor)) { if ($request->isUserAgent($this->preferTarFor)) {
$this->streamerInstance = new TarStreamer(); $this->streamerInstance = new TarStreamer();
} else { } else {
$this->streamerInstance = new ZipStreamer(); $this->streamerInstance = new ZipStreamer(['zip64' => PHP_INT_SIZE !== 4]);
} }
} }