--- wap.php 2001/03/01 09:02:03 1.3 +++ wap.php 2001/03/01 12:56:52 1.4 @@ -3,7 +3,7 @@ require("Smarty.class.php"); $accept=strtolower($HTTP_ACCEPT); -if (strstr($accept,"text/vnd.wap.wml") || strstr($accept,"hdml;version=3.0")) { +if ($WAP || strstr($accept,"text/vnd.wap.wml") || strstr($accept,"hdml;version=3.0")) { global $WAP; $WAP=1;