Forráskód Böngészése

Note to fix naive user agent sniffing

pdontthink 18 éve
szülő
commit
18c893b9a7
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      functions/template.php

+ 1 - 0
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;