diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-08 09:13:08 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-08 09:13:08 +0200 |
commit | e6d9869cf7ca7c8c0027ac6c6239a2bd494d064b (patch) | |
tree | a9da13172b5ca96adf71eb4a660d7be208714f82 /lib | |
parent | c5649a634f5187799994542c25c106f9dc6c7446 (diff) | |
download | nextcloud-server-e6d9869cf7ca7c8c0027ac6c6239a2bd494d064b.tar.gz nextcloud-server-e6d9869cf7ca7c8c0027ac6c6239a2bd494d064b.zip |
Only use zip64 when we have 64 bit php
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/streamer.php | 2 |
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]); } } |