[Typo3-dev] RC2 Bug: Version condition

Roland Schulz roland.schulz at galileiconsult.de
Sat May 1 11:08:43 CEST 2004


On Friday 30 April 2004 11:05, Kasper Skårhøj wrote:
> > the following TS (in Contants) sets template_dir to uploads/layout_ns4/
> > for IE5 and IE6. This didn't happen with RC1.
> >
> > template_dir = uploads/layout/
> > [version= <5]
> > template_dir = uploads/layout_ns4/
> >
> > Any further info needed?
>
> Yes, please send the HTTP_USER_AGENT content for both browsers (see
> php_info() output)
>
> Otherwise I cannot track the bug (since not everyone uses MSIE...)

Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)

The problem is, that in RC2 (and final) first Mozilla is detected and only 
after that IE, IE is detected as Mozilla and thus the version is 4 and not 6.

regards
Roland





More information about the TYPO3-dev mailing list