discuz x3.2附件下载名称增加网站名代码

时间:2018-12-26 10:57作者:网友投稿
打开source/module/forum/forum_attachment.php
找到:
$thread && $attachexists = TRUE;
复制代码
在后面增加
$attach['filename'] = $_G['setting']['bbname'].'-'.$attach['filename'];
复制代码
找到:
$attachexists = TRUE;
复制代码
在后面增加:
$attach['filename'] = $_G['setting']['bbname'].'-'.$attach['filename'];
复制代码
打开source/function/function_attachment.php
找到:
$attachexists = TRUE;
复制代码
在后面增加:
$attach['filename'] = $_G['setting']['bbname'].'-'.$attach['filename'];

免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。