...
|
...
|
@@ -31,12 +31,12 @@ class InfoController extends AbstractAction |
|
|
$data['guang']['id'] = $id;
|
|
|
|
|
|
// 标识是不是APP访问的
|
|
|
$isApp = null !== $this->get('app_version', null);
|
|
|
$isApp = $this->isApp();
|
|
|
// 标识是否是微信访问
|
|
|
$isWeixin = stripos($this->server('HTTP_USER_AGENT', ''), 'MicroMessenger') !== false;
|
|
|
|
|
|
// WAP上设置头部导航
|
|
|
if (!$isApp && !$isWeixin) {
|
|
|
if (!$isApp || !$isWeixin) {
|
|
|
$this->setNavHeader('逛', true, SITE_MAIN);
|
|
|
}
|
|
|
|
...
|
...
|
|