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