From 6b789b650db531daf148d52c281738439419e86e Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 24 Aug 2009 01:26:38 +0100 Subject: Fixed botched attempt to improve tarball code --- includes/tarball.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3