summaryrefslogtreecommitdiffstats
path: root/lib/private/Streamer.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-06-09 10:21:26 +0200
committerGitHub <noreply@github.com>2017-06-09 10:21:26 +0200
commit7d806bdfbd54ecd4f8986b8b3f371f6074112a92 (patch)
tree302bc3ef8bf7c7aaa3757926a4cc7d641e82d431 /lib/private/Streamer.php
parent628284a34c08bbc16a4cff06245ed5aee4c96aac (diff)
downloadnextcloud-server-7d806bdfbd54ecd4f8986b8b3f371f6074112a92.tar.gz
nextcloud-server-7d806bdfbd54ecd4f8986b8b3f371f6074112a92.zip
Revert "Always enable Zip64 extension for zipstreamer"
Diffstat (limited to 'lib/private/Streamer.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 db30d377f4d..7b178fda652 100644
--- a/lib/private/Streamer.php
+++ b/lib/private/Streamer.php
@@ -41,7 +41,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]);
}
}