十多年网络推广实战经验,从SEO&万词霸屏推广、SEM到社群营销,通过网络效果营销分享网络推广之道,结交网络营销之友!
当前位置:主页 > 程序 > dedecms > 正文

怎么去掉dedecms模板底部的power by dedecms

2020/02/29 dedecms

  一般情况下呢,在模板的foot.htm是可以找到power by dedecms的,直接删除就可以了;但有的模板可不是这个样子,下边主要针对这样的情况介绍一种去除方法:
  
  (1)打开文件:网站根目录/include/dedesql.class.php
  
  (2)打开dedesql.class.php后,通常在588-592行有下面代码:
  
  $arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);
  
  $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,
  
  0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,
  
  0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20,
  
  0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);
  
  将这段代码更改成下面代码,就可以了:
  
  $arrs1 = array();
  
  $arrs2 = array();
  
  之后生成网站,查看一下底部版权中的Power by DedeCms就去除了

说明: 文章来源互联网,出于非商业性学习目的,文章版权归原作者所有。本站链接: https://www.mashuan.com/cx/dedecms/71.html