目录 在文件根目录下找到相关文件,路径如下:
source/module/home/home_follow.php
打开home_follow.php?大概在?170行
找到以下代码,注释以下的两行代码
//$seccodecheck?=?($_G['setting']['seccodestatus']?&?4)?&&
(!$_G['setting']['seccodedata']['minposts']?
||
getuserprofile('posts')?<?$_G['setting']['seccodedata']?
['minposts']);
//$secqaacheck = $_G['setting']['secqaa']['status'] & 2 &&
(!$_G['setting']['secqaa']['minposts'] || getuserprofile('posts') <
$_G['setting']['secqaa']['minposts']);
然后在注释掉的代码后面添加以下代码:(加在上面代码的下边)
list($seccodecheck, $secqaacheck) = seccheck('publish');