2.7.3請問如何把WAP彻底关闭?

2016-07-07 15:13 来源:www.chinab4c.com 作者:ecshop专家



嘗試用2.7.2的方法把index.php
删除
if(($ua == '' || preg_match($uachar, $ua))&& !strpos(strtolower($_SERVER['REQUEST_URI']),'wap'))
{
$Loaction = 'mobile/';

if (!empty($Loaction))
{
ecs_header("Location: $Loaction\n");

exit;
}

}

但是首頁頭部卻出現
Warning: Cannot modify header information - headers already sent by (output started at /home/feng/domains/feng-fashion.com/public_html/index.php:1) in /home/feng/domains/feng-fashion.com/public_html/includes/init.php on line 165

Warning: Cannot modify header information - headers already sent by (output started at /home/feng/domains/feng-fashion.com/public_html/index.php:1) in /home/feng/domains/feng-fashion.com/public_html/includes/init.php on line 166

Warning: Cannot modify header information - headers already sent by (output started at /home/feng/domains/feng-fashion.com/public_html/index.php:1) in /home/feng/domains/feng-fashion.com/public_html/includes/cls_template.php on line 58

請問如何解決?

回答:
最简单的办法就是删除。呵呵,然后做好404


换个编辑器,这个错误是编辑器的问题。

editplus这个就可以了

editplus这个就可以的

已經解決了,謝謝

为什么修改后购买货后购物车持续指没有货品?要如何修改,谢谢大大

估计是你修改出现的问题了




请问是那里出错? 那应该如何令手机WAP 转成网页样式?