Merge pull request #92 from knnniggett/patch-9
Update getBrowser() to match IE10
This commit is contained in:
commit
d47aaec775
|
@ -788,7 +788,7 @@ function getBrowser( &$browser, &$version )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( preg_match( '/MSIE ([0-9].[0-9]{1,2})/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
|
if ( preg_match( '/MSIE (.*?);/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
|
||||||
{
|
{
|
||||||
$version = $logVersion[1];
|
$version = $logVersion[1];
|
||||||
$browser = 'ie';
|
$browser = 'ie';
|
||||||
|
|
Loading…
Reference in New Issue