|
发表于 2020-9-22 22:44:49
|
显示全部楼层
本帖最后由 allthebest 于 2020-9-22 21:15 编辑
source\module\forum\forum_viewthread.php
搜索代码(约670行左右)
- if(!$_G['forum_thread']['price'] && (IS_ROBOT || $_G['adminid'] == 1))
复制代码
将整句代码替换为如下代码:
- if(!$_G['forum_thread']['price']) $summary = str_replace(array("\r", "\n"), '', messagecutstr(strip_tags($post['message']), 240));
复制代码
试试看
|
|