mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/10820] add function docblock
PHPBB3-10820
This commit is contained in:
parent
095ac054e0
commit
adb2441f22
1 changed files with 4 additions and 0 deletions
|
@ -709,6 +709,10 @@ function file_gc()
|
|||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the browser is internet explorer version 7+
|
||||
* @returns true if ie7+
|
||||
*/
|
||||
function phpbb_is_greater_ie7($browser)
|
||||
{
|
||||
return (bool) preg_match('/msie (\d{2,3}|[89]+).[0-9.]*;/', strtolower($browser));
|
||||
|
|
Loading…
Add table
Reference in a new issue