mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
adapt preg_match to recognize IE 10
This commit is contained in:
parent
7b1047aacb
commit
fa091d879c
@ -36,7 +36,7 @@ class browser
|
||||
/*
|
||||
Determine browser and version
|
||||
*/
|
||||
if(preg_match('/MSIE ([0-9].[0-9]{1,2})/',$HTTP_USER_AGENT,$log_version))
|
||||
if(preg_match('/MSIE ([0-9]*[0-9].[0-9]{1,2})/',$HTTP_USER_AGENT,$log_version))
|
||||
{
|
||||
self::$version = $log_version[1];
|
||||
self::$agent = 'IE';
|
||||
@ -203,4 +203,4 @@ class browser
|
||||
html::content_header($fn,$mime,$length,$nocache);
|
||||
}
|
||||
}
|
||||
browser::init_static();
|
||||
browser::init_static();
|
||||
|
Loading…
Reference in New Issue
Block a user