Merge pull request #92 from knnniggett/patch-9

Update getBrowser() to match IE10
This commit is contained in:
Kyle Johnson 2013-09-03 06:38:13 -07:00
commit d47aaec775
1 changed files with 1 additions and 1 deletions

View File

@ -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';