aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-02-08 13:58:41 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-06-12 20:22:38 +0530
commit875914767414da7ef7076f444542c09bd0b83c72 (patch)
treea4cee5f6a9c5575016a67422e6284588f92f9478 /phpBB
parent9236f12577087e5b800b9c23e988a671702f1a9e (diff)
downloadforums-875914767414da7ef7076f444542c09bd0b83c72.tar
forums-875914767414da7ef7076f444542c09bd0b83c72.tar.gz
forums-875914767414da7ef7076f444542c09bd0b83c72.tar.bz2
forums-875914767414da7ef7076f444542c09bd0b83c72.tar.xz
forums-875914767414da7ef7076f444542c09bd0b83c72.zip
[ticket/10820] add function docblock
PHPBB3-10820
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/download/file.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index af41951c46..abab473bf2 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -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));