diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-11-09 14:37:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-09 14:37:22 +0100 |
commit | 7b4a932ed11f7cbdd397209547ddbf2ae7d44c29 (patch) | |
tree | d7a2b02c5ef8894a3158a1f2c674b2d4006c5d1c | |
parent | 8ff3f21f1d259429e093b8cf45708e6ed04a5f5b (diff) | |
parent | be2f0765e4f45d734780e2c28d71248277c34927 (diff) | |
download | nextcloud-server-7b4a932ed11f7cbdd397209547ddbf2ae7d44c29.tar.gz nextcloud-server-7b4a932ed11f7cbdd397209547ddbf2ae7d44c29.zip |
Merge pull request #49035 from nextcloud/jtr/fix-streamer-zip64
-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 642e221ecc4..de663f66e0d 100644 --- a/lib/private/Streamer.php +++ b/lib/private/Streamer.php @@ -77,7 +77,7 @@ class Streamer { } elseif ($size > 0 && $size < 4 * 1000 * 1000 * 1000 && $numberOfFiles < 65536) { $this->streamerInstance = new ZipStreamer(['zip64' => false]); } else { - $this->streamerInstance = new ZipStreamer(['zip64' => PHP_INT_SIZE !== 4]); + $this->streamerInstance = new ZipStreamer(['zip64' => true]); } } |