如何去掉织梦网站底部的powered by dedecms方法

时间:2014-10-08

织梦DedeCMS 5.7 最近的补丁更新后,网站底部出现了织梦的版权信息“powered by dedecms”,因为这段代码不在模板里面,所以很多人不知道怎么去掉,下面就告诉你删除powered by dedecms的方法。

include/dedesql.class.php文件中找到第588行:

  1. $arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);  
  2. $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,  
  3. 0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,  
  4. 0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20,  
  5. 0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e); 

改成:

  1. $arrs1 = array();  
  2. $arrs2 = array(); 

这样网站底部的织梦的版权信息“powered by dedecms”就删除了。

题外话,在不影响网站的情况下,不建议去掉,毕竟程序是人家开发的,尊重下织梦版权,大家自由决定。

文章出处:http://www.qimiweb.com/article/dedecms/201307/87.html

相关阅读:

织梦程序7.15更新后 网站出现错误 DedeCMS Error:Tag disabled:"php"的解决方法
http://www.mubanzhijia.com/jishujiaocheng/248.html

上一条:[视频]织梦DedeCMS建站教程-网站的备份和还原 下一条:如何使用织梦DedeCms自带的广告插件管理全站广告

相关文章

最新文章