Remove special cases for MSIE

This commit is contained in:
Kijin Sung 2022-12-28 00:41:59 +09:00
parent 5c797c72ca
commit 684eed4a4d
2 changed files with 1 additions and 10 deletions

View file

@ -48,10 +48,6 @@ class DisplayHandler extends Handler
elseif($responseMethod == 'XMLRPC')
{
$handler = new XMLDisplayHandler();
if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE)
{
$this->gz_enabled = FALSE;
}
}
elseif($responseMethod == 'RAW')
{

View file

@ -166,11 +166,6 @@ class HTMLDisplayHandler
$onlyLayoutFile = $pathInfo['filename'];
$GLOBALS['__layout_compile_elapsed__'] = microtime(true) - $start;
if(stripos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE && (Context::get('_use_ssl') == 'optional' || Context::get('_use_ssl') == 'always'))
{
Context::addHtmlFooter('<iframe id="xeTmpIframe" name="xeTmpIframe" style="width:1px;height:1px;position:absolute;top:-2px;left:-2px;"></iframe>');
}
}
}
@ -690,7 +685,7 @@ class HTMLDisplayHandler
'xml_handler.js',
'xml_js_filter.js',
);
$jquery_version = preg_match('/MSIE [5-8]\./', $_SERVER['HTTP_USER_AGENT']) ? self::JQUERY_V1 : self::JQUERY_V2;
$jquery_version = self::JQUERY_V2;
if(config('view.minify_scripts') === 'none')
{