Fixed bug #10567: Added IE8+ support / Get rid of browser version dependent t3lib_div...
authorBenni Mack <benni.mack@typo3.org>
Tue, 31 Mar 2009 17:00:47 +0000 (17:00 +0000)
committerBenni Mack <benni.mack@typo3.org>
Tue, 31 Mar 2009 17:00:47 +0000 (17:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5251 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 5dadb17..9ba33fd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-31  Benjamin Mack  <benni@typo3.org>
+
+       * Fixed bug #10567: Added IE8+ support / Get rid of browser version dependent t3lib_div::clientInfo() (Thanks to Steffen Gebert)
+
 2009-03-31  Oliver Hader  <oliver@typo3.org>
 
        * Fixed bug #10431: Call to undefined method SC_wizard_list::printContent()
index a2f18df..a42c620 100755 (executable)
@@ -3664,9 +3664,9 @@ final class t3lib_div {
                        $bInfo['BROWSER']= 'konqu';
                } elseif (strpos($useragent,'Opera') !== false) {
                        $bInfo['BROWSER']= 'opera';
-               } elseif (preg_match('/MSIE [4567]/', $useragent))      {
+               } elseif (strpos($useragent, 'MSIE') !== false) {
                        $bInfo['BROWSER']= 'msie';
-               } elseif (strpos($useragent,'Mozilla/4') !== false || strpos($useragent,'Mozilla/5') !== false) {
+               } elseif (strpos($useragent, 'Mozilla') !== false) {
                        $bInfo['BROWSER']='net';
                }
                if ($bInfo['BROWSER'])  {