* Slightly changed the check for IE browsers in t3lib_div::clientInfo()
authorMichael Stucki <michael.stucki@typo3.org>
Tue, 23 Jan 2007 09:54:47 +0000 (09:54 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Tue, 23 Jan 2007 09:54:47 +0000 (09:54 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1921 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index b5bbb56..7ebeafa 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-23  Michael Stucki  <michael@typo3.org>
+
+       * Slightly changed the check for IE browsers in t3lib_div::clientInfo()
+
 2007-01-20  Michael Stucki  <michael@typo3.org>
 
        * Release of TYPO3 4.1beta3
index e1c9a3d..e5543fc 100755 (executable)
@@ -3211,7 +3211,7 @@ class t3lib_div {
                        $bInfo['BROWSER']= 'konqu';
                } elseif (strstr($useragent,'Opera'))   {
                        $bInfo['BROWSER']= 'opera';
-               } elseif (strstr($useragent,'MSIE 4') || strstr($useragent,'MSIE 5') || strstr($useragent,'MSIE 6') || strstr($useragent,'MSIE 7'))     {
+               } elseif (preg_match('/MSIE [4567]/', $useragent))      {
                        $bInfo['BROWSER']= 'msie';
                } elseif (strstr($useragent,'Mozilla/4') || strstr($useragent,'Mozilla/5'))     {
                        $bInfo['BROWSER']='net';