diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-08 09:13:08 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-08 10:32:24 +0200 |
commit | f83f80ac719cfe47369cfadea8676f1d1ca9dff8 (patch) | |
tree | 98b944bd463e301217dc4d737aacfe8b978e1e32 | |
parent | 643b6c11c34548b2cb0c933a188a0d443ca15982 (diff) | |
download | nextcloud-server-f83f80ac719cfe47369cfadea8676f1d1ca9dff8.tar.gz nextcloud-server-f83f80ac719cfe47369cfadea8676f1d1ca9dff8.zip |
Only use zip64 when we have 64 bit php
-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 9c10c1b036a..5b7c0bafd12 100644 --- a/lib/private/streamer.php +++ b/lib/private/streamer.php @@ -38,7 +38,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]); } } |