後臺加了一個敏感詞替換, 每次發帖的時候,都提示 “你發佈的內容包含敏感詞“[img]http”,需要管理員審覈後才能顯示!"
我安裝的是 phpwind 8.7 utf8 版本,用 search & replace 工具不能搜索 漢字,用 emeditor 搜索” 需要管理員審覈後才能顯示“,
找到
template\wind\lang_refreshto.php
'post_word_check'=>
'你發佈的內容包含敏感詞“<font color=\'red\'>{$GLOBALS[banword]}</font>”,需要管理員審覈後才能顯示!',
截包分析,帖子提交到 post.php: action=new&ajax=1&step=2
分析 post.php require\postnew.php 沒分析出什麼,在全部文件搜索:post_word_check
只在 lib/forum/post.class.php 裏找到一個位置。在 wordFilter 函數,直接 在這個函數開頭 加上
return
true;
測試,再也沒有那個提示了。