display시에 gzip header를 보내지 않던 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3414 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-12-24 13:25:33 +00:00
parent 167d2dabed
commit 87c9e06fec

View file

@ -220,10 +220,9 @@
* @brief RequestMethod에 맞춰 헤더 출력
***/
function _printHeader() {
if($this->gz_enabled) header("Content-Encoding: gzip");
if(Context::getResponseMethod() != 'HTML') return $this->_printXMLHeader();
else return $this->_printHTMLHeader();
if($this->gz_enabled) header("Content-Encoding: gzip");
}
/**