summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-08-24 01:26:38 +0100
committerNick White <git@njw.me.uk>2009-08-24 01:26:38 +0100
commit6b789b650db531daf148d52c281738439419e86e (patch)
tree74fe8741d467f678fa4d69d85b793f002f817051
parentf3201cde5f93313a8e532305e60949ca7b92c8b1 (diff)
downloadnjw-website-source-6b789b650db531daf148d52c281738439419e86e.tar.bz2
njw-website-source-6b789b650db531daf148d52c281738439419e86e.zip
Fixed botched attempt to improve tarball code
-rw-r--r--includes/tarball.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/tarball.php b/includes/tarball.php
index 151bf17..344116e 100644
--- a/includes/tarball.php
+++ b/includes/tarball.php
@@ -36,7 +36,7 @@ function return_tarball($name, $contents)
ob_end_flush();
ob_start();
- $tarball = new Archive_Tar("php://output", "bz2");
+ $tarball = new Archive_Tar("php://stdout", "bz2");
$tarball->create($contents);
ob_end_flush();