From 48928248d9032225d0be0428f6d3c75b1f500fdd Mon Sep 17 00:00:00 2001 From: John Bender Date: Thu, 22 Sep 2011 14:40:51 -0700 Subject: [PATCH] remove gzip from combine --- combine.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/combine.php b/combine.php index deb1d798..cac1eeae 100644 --- a/combine.php +++ b/combine.php @@ -13,11 +13,6 @@ foreach ( $files as $file ) { $contents .= file_get_contents($file). "\n\n"; } -// If gzip is supported, send the file gzipped -if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) { - ob_start("ob_gzhandler"); -} - // Set the content type, filesize and an expiration so its not cached header('Content-Type: ' . $type); header('Content-Length: ' . strlen($contents));