aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download/file.php')
-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));