diff options
author | Josh <josh.t.richards@gmail.com> | 2024-10-31 11:37:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 11:37:03 -0400 |
commit | be2f0765e4f45d734780e2c28d71248277c34927 (patch) | |
tree | ca18d7e93bca993abc821e0c011bfd9a101f825d | |
parent | 8a13f284765bd4606984e7d925c32ae6e82b8a27 (diff) | |
download | nextcloud-server-be2f0765e4f45d734780e2c28d71248277c34927.tar.gz nextcloud-server-be2f0765e4f45d734780e2c28d71248277c34927.zip |
fix(streamer): zip64 should work on 32-bit env nowjtr/fix-streamer-zip64
Since DeepDiver1975/PHPZipStreamer#11 was merged
Signed-off-by: Josh <josh.t.richards@gmail.com>
-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]); } } |