打开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'];

声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!

原文地址:discuz x3.2附件下载名称增加网站名代码发布于2023-05-04 16:55:13

相关推荐