mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#203 Optimizer에서 css의 gz compress시에 특정 서버에서 IE6로 볼때 레이아웃이 랜덤하게 깨어지는 현상이 발견됨. 일단 Optimizer에서 css는 gz compress를 하지 않도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2725 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
788f3af8c2
commit
d80524158c
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@
|
|||
|
||||
$content_buff .= $str."\r\n";
|
||||
}
|
||||
if(Context::isGzEnabled()) $content_buff = ob_gzhandler($content_buff, 5);
|
||||
if($type!="css" && Context::isGzEnabled()) $content_buff = ob_gzhandler($content_buff, 5);
|
||||
|
||||
$content_file = eregi_replace("\.php$","",$filename);
|
||||
$content_filename = str_replace($this->cache_path, '', $content_file);
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
$modified_time = gmdate("D, d M Y H:i:s");
|
||||
|
||||
// gzip 압축 체크
|
||||
if(Context::isGzEnabled()) $gzip_header = 'header("Content-Encoding: gzip");';
|
||||
if($type!="css" && Context::isGzEnabled()) $gzip_header = 'header("Content-Encoding: gzip");';
|
||||
|
||||
// 확장자별 content-type 체크
|
||||
if($type == 'css') $content_type = 'text/css';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue