summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-09-17 23:20:05 +0100
committerNick White <git@njw.me.uk>2009-09-17 23:20:05 +0100
commit4f7f4ac071fb8f98b9ff86395b286d45fcac7fed (patch)
treeb45934235634aa99df2a11400252971937e1410a
parent5d1ebed7a98bb15106f61ef97cc3d5380f4dde14 (diff)
downloadnjw-website-source-4f7f4ac071fb8f98b9ff86395b286d45fcac7fed.tar.bz2
njw-website-source-4f7f4ac071fb8f98b9ff86395b286d45fcac7fed.zip
Don't buffer tarball fully before returning
-rw-r--r--includes/tarball.php2
1 files changed, 0 insertions, 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();
}