mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
remove gzip from combine
This commit is contained in:
parent
e5e269394e
commit
48928248d9
1 changed files with 0 additions and 5 deletions
|
|
@ -13,11 +13,6 @@ foreach ( $files as $file ) {
|
||||||
$contents .= file_get_contents($file). "\n\n";
|
$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
|
// Set the content type, filesize and an expiration so its not cached
|
||||||
header('Content-Type: ' . $type);
|
header('Content-Type: ' . $type);
|
||||||
header('Content-Length: ' . strlen($contents));
|
header('Content-Length: ' . strlen($contents));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue