#18872164 : fixed the error "Invalid XML" due to IE6 bug

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7425 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-10 07:06:19 +00:00
parent 2dffd83439
commit e474604749

View file

@ -32,7 +32,10 @@
// request method에 따른 컨텐츠 결과물 추출
if(Context::get('xeVirtualRequestMethod')=='xml') $output = $this->_toVirtualXmlDoc($oModule);
else if(Context::getRequestMethod() == 'XMLRPC') $output = $this->_toXmlDoc($oModule);
else if(Context::getRequestMethod() == 'XMLRPC') {
if(stripos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) $this->gz_enabled = false;
$output = $this->_toXmlDoc($oModule);
}
else if(Context::getRequestMethod() == 'JSON') $output = $this->_toJSON($oModule);
else $output = $this->_toHTMLDoc($oModule);