mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10820] simplify regex and escape dot
PHPBB3-10820
This commit is contained in:
parent
364828de24
commit
687b04bcfc
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ function file_gc()
|
||||||
*/
|
*/
|
||||||
function phpbb_is_greater_ie7($browser)
|
function phpbb_is_greater_ie7($browser)
|
||||||
{
|
{
|
||||||
return (bool) preg_match('/msie (\d{2,3}|[89]+).[0-9.]*;/', strtolower($browser));
|
return (bool) preg_match('/msie [^67]+\\.*;/', strtolower($browser));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue