修改方法:
1.找到文件:source/module/home/home_spacecp.php
找到:
[代碼]php代碼:
if(empty($_G['uid'])) { if($_SERVER['REQUEST_METHOD'] == 'GET') { dsetcookie('_refer', rawurlencode($_SERVER['REQUEST_URI'])); } else { dsetcookie('_refer', rawurlencode('home.php?mod=spacecp&ac='.$ac)); } showmessage('to_login', '', array(), array('showmsg' => true, 'login' => 1)); }
注銷或刪掉
找到:
[代碼]php代碼:
if(empty($space)) { showmessage('space_does_not_exist'); }
注銷或刪掉
找到文件:/source/include/spacecp/spacecp_click.php
找到:
[代碼]php代碼:
if(!checkperm('allowclick') || $_GET['hash'] != $hash) { showmessage('no_privilege_click'); }
注銷或刪掉
找到:
[代碼]php代碼:
if(C::t('home_clickuser')->count_by_uid_id_idtype($space[uid], $id, $idtype)) { showmessage('click_have'); }
注銷或刪掉
然后刷新,去看看吧。