遊客可以查看到附件圖片,但不能下載或瀏覽其他檔案附件
插件名稱:遊客可以查看到附件圖片,但不能夠下載或瀏覽其他檔案附件適合版本:Discuz 7.0
原帖作者:itotti
原帖出處:http://www.discuz.net/viewthread ... ;page=1#pid10699267
修改數量:1
修改文件:./viewthread.php
修改 viewthread.php 文件
找:$allowgetattach = !empty($forum['allowgetattach']) || ($allowgetattach && !$forum['getattachperm']) || forumperm($forum['getattachperm']);
更改為:$allowgetattach = !$discuz_uid || !empty($forum['allowgetattach']) || ($allowgetattach && !$forum['getattachperm']) || forumperm($forum['getattachperm']);更新緩存.完.
頁:
[1]