From 4f7f4ac071fb8f98b9ff86395b286d45fcac7fed Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 17 Sep 2009 23:20:05 +0100 Subject: Don't buffer tarball fully before returning --- includes/tarball.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/tarball.php b/includes/tarball.php index 344116e..737aefa 100644 --- a/includes/tarball.php +++ b/includes/tarball.php @@ -35,9 +35,7 @@ function return_tarball($name, $contents) header('Pragma: public'); ob_end_flush(); - ob_start(); $tarball = new Archive_Tar("php://stdout", "bz2"); $tarball->create($contents); - ob_end_flush(); } -- cgit v1.2.3