Php 创建自己的wurfl异常
我在cakephp中使用php wurfl 1.3.1-以下用户代理被选为移动浏览器,这是不正确的 它在windows 7机器上,64位版本的IE没有问题,但32位版本重定向到mobile (32位)[问题]Php 创建自己的wurfl异常,php,wurfl,Php,Wurfl,我在cakephp中使用php wurfl 1.3.1-以下用户代理被选为移动浏览器,这是不正确的 它在windows 7机器上,64位版本的IE没有问题,但32位版本重定向到mobile (32位)[问题] Mozilla/4.0(兼容;MSIE 8.0;Windows NT 6.1;WOW64;Trident/4.0;GetMiroToolbar 1.2;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media
Mozilla/4.0(兼容;MSIE 8.0;Windows NT 6.1;WOW64;Trident/4.0;GetMiroToolbar 1.2;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0;InfoPath.2)
(64位)
Mozilla/4.0(兼容;MSIE 8.0;Windows NT 6.1;Win64;x64;Trident/4.0;.NET CLR 2.0.50727;SLCC2;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0;Tablet PC 2.0)
如果您确实为我提供了修复程序,还请告诉我确保服务器正确读取新配置的正确步骤。我要清除WURFL缓存吗?
谢谢。在
web\u browsers\u patch.xml
中,我添加了以下行:
<device user_agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GetMiroToolbar 1.2; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)"
fall_back="msie" id="msie_8">
<group id="product_info">
<capability name="model_name" value="8.0" />
</group>
</device>