summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-08 10:29:54 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-08 10:29:54 +0200
commit33cf1c3c92f6d9b4fcf2375a894e2922b948c6e3 (patch)
treea9da13172b5ca96adf71eb4a660d7be208714f82
parentc5649a634f5187799994542c25c106f9dc6c7446 (diff)
parente6d9869cf7ca7c8c0027ac6c6239a2bd494d064b (diff)
downloadnextcloud-server-33cf1c3c92f6d9b4fcf2375a894e2922b948c6e3.tar.gz
nextcloud-server-33cf1c3c92f6d9b4fcf2375a894e2922b948c6e3.zip
Merge pull request #19640 from owncloud/fix-zip-downloads-32-bit-os
Only use zip64 when we have 64 bit php
-rw-r--r--lib/private/streamer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/streamer.php b/lib/private/streamer.php
index 6db6fe42a79..a08c8444f02 100644
--- a/lib/private/streamer.php
+++ b/lib/private/streamer.php
@@ -39,7 +39,7 @@ class Streamer {
if ($request->isUserAgent($this->preferTarFor)) {
$this->streamerInstance = new TarStreamer();
} else {
- $this->streamerInstance = new ZipStreamer();
+ $this->streamerInstance = new ZipStreamer(['zip64' => PHP_INT_SIZE !== 4]);
}
}