mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3458 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2fafe9ccd5
commit
8eb6fb3d22
1 changed files with 5 additions and 5 deletions
|
|
@ -143,12 +143,12 @@ header("Last-Modified: '.substr(gmdate('r', $mtime), 0, -5).'GMT");
|
|||
header("ETag: '.dechex($unique).'-'.dechex($size).'-'.dechex($mtime).'");
|
||||
if(!$cached && file_exists($content_filename)) {
|
||||
$buff = file_get_contents($content_filename);
|
||||
if($type != "css" && strpos($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")!==false && function_exists("ob_gzhandler")) {
|
||||
header("Content-Encoding: gzip");
|
||||
print ob_gzhandler($buff, 5);
|
||||
} else {
|
||||
//if($type != "css" && strpos($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")!==false && function_exists("ob_gzhandler")) {
|
||||
//header("Content-Encoding: gzip");
|
||||
//print ob_gzhandler($buff, 5);
|
||||
//} else {
|
||||
print $buff;
|
||||
}
|
||||
//}
|
||||
}
|
||||
exit();
|
||||
?>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue