CSS/JS파일을 Optimizer 클래스를 통해 하나의 단일파일로 묶어서 출력하도록 출력 부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2661 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-01 08:18:35 +00:00
parent 6f15d2f388
commit 4ce386b736
6 changed files with 185 additions and 25 deletions

View file

@ -22,12 +22,7 @@
function printContent(&$oModule) {
// gzip encoding 지원 여부 체크
if(
(defined('__OB_GZHANDLER_ENABLE__') && __OB_GZHANDLER_ENABLE__ == 1) &&
strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')!==false &&
function_exists('ob_gzhandler') &&
extension_loaded('zlib')
) $this->gz_enabled = true;
$this->gz_enabled = Context::isGzEnabled();
// header 출력
$this->_printHeader();