aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Streamer.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-12 16:05:03 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:28 +0100
commite156f8339cec0ae97ed62344ce1f186600b6b909 (patch)
treedd874b1ccc2079184ace112445f235d33669f8b3 /lib/private/Streamer.php
parent3885818ab67f941a54d8b186945399e55c9ac6fe (diff)
downloadnextcloud-server-e156f8339cec0ae97ed62344ce1f186600b6b909.tar.gz
nextcloud-server-e156f8339cec0ae97ed62344ce1f186600b6b909.zip
Revert "remove 32-bit workarounds"
This reverts commit dd8774389e21b59c07882580356d51de018fe867. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
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 f96646e3365..1375489d360 100644
--- a/lib/private/Streamer.php
+++ b/lib/private/Streamer.php
@@ -85,7 +85,7 @@ class Streamer {
} elseif ($request->isUserAgent($this->preferTarFor)) {
$this->streamerInstance = new TarStreamer();
} else {
- $this->streamerInstance = new ZipStreamer(['zip64' => true]);
+ $this->streamerInstance = new ZipStreamer(['zip64' => PHP_INT_SIZE !== 4]);
}
}