--- inc/conn.inc 2001/03/01 09:02:05 1.3 +++ inc/conn.inc 2001/03/01 12:56:27 1.4 @@ -3,7 +3,7 @@ $db="corp"; $dbh = new DBI("dbi:pg:$db","dpavlin",""); - if (!$WAP && strstr(strtolower($HTTP_ACCEPT), "text/vnd.wap.wml")) { + if (!$WAP && ( strstr($accept,"text/vnd.wap.wml") || strstr($accept,"hdml;version=3.0") ) ) { Header("Location: wap.php"); header("Content-type: text/vnd.wap.wml"); exit;