Commit 3fb1bc94 authored by Kasper Skårhøj's avatar Kasper Skårhøj
Browse files

* Rolled back browser detection in matchcondition class.


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@280 709f56b5-9817-0410-a4d7-c38de5d9e867
parent a727f736
2004-05-11 Kasper Skårhøj,,, <kasper@typo3.com>
* Rolled back browser detection in matchcondition class.
2004-05-07 Kasper Skårhøj,,, <kasper@typo3.com>
* Added "relPathprefix" to TEMPLATE cObject and also added support for relative path substitution of references in url() wrappers in <style> tags. This will also fix THAT problem reported for automaketemplate.
......
......@@ -411,7 +411,9 @@ class t3lib_matchCondition {
$browserInfo['useragent']=$useragent;
if ($useragent) {
// browser
if(strstr($useragent,'Opera')) {
if (strstr($useragent,'MSIE')) {
$browserInfo['browser']='msie';
} elseif(strstr($useragent,'Opera')) {
$browserInfo['browser']='opera';
} elseif(strstr($useragent,'Lynx')) {
$browserInfo['browser']='lynx';
......@@ -427,8 +429,6 @@ class t3lib_matchCondition {
$browserInfo['browser']='teleport';
} elseif(strstr($useragent,'Mozilla')) {
$browserInfo['browser']='netscape';
} elseif (strstr($useragent,'MSIE')) {
$browserInfo['browser']='msie';
} else {
$browserInfo['browser']='unknown';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment