remove gzip from combine

This commit is contained in:
John Bender 2011-09-22 14:40:51 -07:00
parent e5e269394e
commit 48928248d9

View file

@ -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));