解决DZ开启广播后,手机模板访问别人的个人空间提示无此页面
问题:最近发现一个问题,当开启广播后,当手机模板访问非自己的个人空间外的其他人的空间都提示手机无此页面。
解决1:关闭广播
解决2:打开sourcemodulehomehome_space.php 下 找到
if(helper_access::check_module('follow')) { $do = $_GET['do'] = 'follow'; } else { $do = $_GET['do'] = !$_G['setting']['homepagestyle'] ? 'profile' : 'index'; } } elseif(empty($_GET['do']) && isset($_GET['diy']) && !empty($_G['setting']['homepagestyle'])) { $_GET['do'] = 'index'; } if($_GET['do'] == 'follow') { if($uid != $_G['uid']) { $_GET['do'] = 'view'; $_GET['uid'] = $uid; } require_once libfile('home/follow', 'module'); exit; } elseif(empty($_GET['do']) && !$_G['inajax'] && !helper_access::check_module('follow')) { $do = 'profile'; }
替换成
if(helper_access::check_module('space')) { $do = $_GET['do'] = 'space'; } else { $do = $_GET['do'] = !$_G['setting']['homepagestyle'] ? 'profile' : 'index'; } } elseif(empty($_GET['do']) && isset($_GET['diy']) && !empty($_G['setting']['homepagestyle'])) { $_GET['do'] = 'index'; } if($_GET['do'] == 'space') { if($uid != $_G['uid']) { $_GET['do'] = 'view'; $_GET['uid'] = $uid; } require_once libfile('home/index', 'module'); exit; } elseif(empty($_GET['do']) && !$_G['inajax'] && !helper_access::check_module('space')) { $do = 'profile'; }
本文链接:http://78moban.cn/post/11736.html
版权声明:站内所有文章皆来自网络转载,只供模板演示使用,并无任何其它意义!