dedecms突破tag 6个汉字的限制

修改有点复杂,涉及修改数据库和源码,有风险,修改前一定备份!

第一步:我是用PHPmyadmin打开网站MYSQL然后选择网站所对应的数据库, 修改数据库中表dede_tagindex 和dede_taglist的tag字段属性:varchar(12)修改为varchar(255)

第二步:修改源码,在include/archives.func.php中查找:if(isset($tag[12])

修改为:if(isset($tag[255])

在include/archives.func.php中查找:if(isset($tag[20])

修改为:if(isset($tag[255])

演示:http://www.zhengxinglianmeng.com (复制地址到浏览器)

Tags: ,

One Response To This Post So Far(Rss)

Leave a Reply

Reply Directions
  • 本人发誓不会泄露您填写的电子邮件地址到第三方,你知,我知,他不知,天也不知,地也不知!
  • 本评论支持Gravatar(全球通用头像)服务,使用方法请看《全球通用头像Gravatar简单介绍与使用教程》。
  • 含有URL的评论可能会被审核为垃圾邮件,请在<a href="里面加入rel="nofollow"。例如:<a rel="nofollow" href="
  • Allow XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>