diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-12 16:05:03 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-02-07 11:23:28 +0100 |
commit | e156f8339cec0ae97ed62344ce1f186600b6b909 (patch) | |
tree | dd874b1ccc2079184ace112445f235d33669f8b3 /lib/private/Streamer.php | |
parent | 3885818ab67f941a54d8b186945399e55c9ac6fe (diff) | |
download | nextcloud-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.php | 2 |
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]); } } |