比思論壇
標題:
discuz 1.5 迅雷/快車下載問題
[打印本頁]
作者:
admin
時間:
2011-2-23 18:12
標題:
discuz 1.5 迅雷/快車下載問題
在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://184.95.51.82/)
Powered by Discuz! X2.5