OM-543 BE and FE

remove coment

format files

add files FE

up observations
This commit is contained in:
Ronald Q
2016-04-13 15:46:29 -04:00
parent c674bbc64d
commit cdab4ed89b
13 changed files with 40 additions and 74 deletions

View File

@@ -2974,5 +2974,19 @@ class Bootstrap
}
/**
* Set Language
*/
public static function isIE()
{
$isIE = false;
if (isset($_SERVER['HTTP_USER_AGENT'])) {
$ua = htmlentities($_SERVER['HTTP_USER_AGENT'], ENT_QUOTES, 'UTF-8');
if (preg_match('~MSIE|Internet Explorer~i', $ua) || (strpos($ua, 'Trident/7.0; rv:11.0') !== false)) {
$isIE = true;
}
}
return $isIE;
}
}