From c7d3b9c3d15f39dc56ca1f4ab80dcd91bcfa58d3 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Wed, 11 Mar 2020 12:31:31 +0100 Subject: [PATCH] Disable output buffering so we can enjoy more than ~62MB of photos. --- controllers/Download.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/Download.php b/controllers/Download.php index f9b81ef..94e10a5 100644 --- a/controllers/Download.php +++ b/controllers/Download.php @@ -75,6 +75,9 @@ class Download // Close STDIN pipe to start archiving. fclose($pipes[0]); + // At this point, end output buffering so we can enjoy more than ~62MB of photos. + ob_end_flush(); + do { // Read STDOUT as `tar` is doing its work.