[Typo3-dev] BUG: t3lib_matchcondition: browser

lukas pitschl lukas at dressyvagabonds.com
Mon Feb 16 22:38:35 CET 2004


hi devs,

is this a bug?

when i call my typo3 site on linux with opera it displays that i'm using
msie. i have a condition an that one is not working properly because
typo3 thinks i'm using msie.

i looked into class.t3lib_matchcondition.php to find out how the browser
is determined. to get the browserinfo the
t3lib_div::getIndpEnv("HTTP_USER_AGENT")
function is called. but this function returns the wrong browser, but the
function t3lib_div::clientinfo() returns the right browser. why isn't
that function used by the matchconditions script?

regards

lukas






More information about the TYPO3-dev mailing list