zoukankan      html  css  js  c++  java
  • zencart tell a friend被第三方利用发送垃圾邮件

    zencart程序中的tell a friend功能被第三方利用,发送大量垃圾邮件,导致数据库中email_archive表有几百兆之多!

    欣慰的是,在1.5x版本中已经移除该功能。

    解决方法:

    1, 后台-configuration-Email Options里找到Allow Guest To Tell A Friend,关闭游客推荐功能。

    对下列文件重命名,或者彻底删除该功能:

    includes/templates/YOUR_TEMPLATE/templates/tpl_tell_a_friend_default.php

    includes/templates/template_defaul/templates/tpl_tell_a_friend_default.php

    includes/languages/english/tell_a_friend.php

    includes/modules/pages/tell_a_friend 这个文件夹要去掉或者重命名

    2,在后台catalog==》product types

    点商品--普通 和商品免运费 点击 edit layout, 里面取消显示推荐给朋友 按钮就可以了

    找到Show Product Tell a Friend button,关闭它。

    3,最后找台前台的布局文件中按钮的位置删除它既可。

  • 相关阅读:
    python中xrange和range的异同
    Python:使用threading模块实现多线程编程
    python Queue模块
    Python中pass语句的作用
    Python的作用域
    eclipse颜色配置
    protobuf
    python调试总结
    chardet安装
    Windows下搭建PHP开发环境
  • 原文地址:https://www.cnblogs.com/chenping/p/3759178.html
Copyright © 2011-2022 走看看