敏感词

41次浏览 更新日期:2025-04-25 20:56:15 分类:问题求助 评论:0

<?php

/**

 * YzmCMS站点首页 - 商业用途请购买官方授权

 * @license          http://www.yzmcms.com

 * @lastmodify       2020-01-15

 */


defined('IN_YZMPHP') or exit('Access Denied');

yzm_xxx::load_model('content', 'index', 0);


class index{

    private $siteid,$siteinfo;

     /* 文章内容敏感词检测页 */

protected function _recontent($content){

$arr = explode('|', get_config('prohibit_words'));

return str_replace($arr, '*', $content);

}


}


我来说两句
作者信息
发布见解
发内容 回顶部