From: pdontthink Date: Sat, 30 Dec 2006 07:57:28 +0000 (+0000) Subject: Note to fix naive user agent sniffing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c38388483bce45c86ac8ab9b2e6972b56294c09;p=squirrelmail.git Note to fix naive user agent sniffing git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12013 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/template.php b/functions/template.php index 3d142742..ded79f68 100644 --- a/functions/template.php +++ b/functions/template.php @@ -47,6 +47,7 @@ $xhtml_end=''; $browser = 'msie4'; $dom_browser = false; $is_IE = true; +//FIXME: this fails for Opera because its user agent also contains MSIE } elseif (stristr($browser_user_agent, "msie")) { $browser = 'msie'; $dom_browser = true;