Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
remove gzip from combine
  • Loading branch information
johnbender committed Sep 22, 2011
1 parent e5e2693 commit 4892824
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions combine.php
Expand Up @@ -13,11 +13,6 @@
$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));
Expand Down

0 comments on commit 4892824

Please sign in to comment.