mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +02:00
[ticket/10820] add function docblock
PHPBB3-10820
This commit is contained in:
@ -709,6 +709,10 @@ function file_gc()
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the browser is internet explorer version 7+
|
||||||
|
* @returns true if ie7+
|
||||||
|
*/
|
||||||
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 (\d{2,3}|[89]+).[0-9.]*;/', strtolower($browser));
|
||||||
|
Reference in New Issue
Block a user