make it compatible to PHP4

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7430 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-11 05:12:54 +00:00
parent 7a23c33398
commit 8c0adaef2c

View file

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