emlog侧边栏评论屏蔽作者/管理员的方法

   

找到 include/lib/cache.php 缓存函数文件中的:

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "comment WHERE hide='n' ORDER BY date DESC LIMIT 0, $index_comnum");


改成:
 

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "comment WHERE hide='n' AND mail!='<font color="#ff0000">XXXXX@qq.com</font>' ORDER BY date DESC LIMIT 0, $index_comnum");


    
评论 0

Hi,您需要填写昵称和邮箱!

  • *必填项
qrcode