比思論壇
標題:
迅雷/快車附件問題,更改以下代碼
[打印本頁]
作者:
admin
時間:
2011-2-23 18:14
標題:
迅雷/快車附件問題,更改以下代碼
在source\module\forum\forum_attachment.php找到以下代碼:
if(!$ispaid && !$forum['allowgetattach']) {
if(!$forum['getattachperm'] && !$allowgetattach) {
showmessage('getattachperm_none_nopermission', NULL, array(), array('login' => 1));
} elseif(($forum['getattachperm'] && !forumperm($forum['getattachperm'])) || ($forum['viewperm'] && !forumperm($forum['viewperm']))) {
showmessagenoperm('getattachperm', $forum['fid']);
}
}
複製代碼
取代成以下代碼:
/*if(!$ispaid && !$forum['allowgetattach']) {
if(!$forum['getattachperm'] && !$allowgetattach) {
showmessage('getattachperm_none_nopermission', NULL, array(), array('login' => 1));
} elseif(($forum['getattachperm'] && !forumperm($forum['getattachperm'])) || ($forum['viewperm'] && !forumperm($forum['viewperm']))) {
showmessagenoperm('getattachperm', $forum['fid']);
}
}*/
複製代碼
歡迎光臨 比思論壇 (http://e3-1275v3.bl-phx0.141.9.8.c1.securedservers.com/)
Powered by Discuz! X2.5