欢迎您访问【网站源码网】,站长建站模板和网页素材资源下载站! QQ客服
网站源码网-专业网站模板和jQuery网页素材下载站
当前位置 : 当前位置 :主页 > 织梦教程 > 新手常见问题 > 织梦dedecms删除power by dedecms的方法

织梦dedecms删除power by dedecms的方法

不知道在哪一次版本升级后,织梦在预装网站里的网页底部加了个“Power by DedeCms”的字段,声明版权用的,然而站长在做站的时候,是不可能让这块显示的,删除方法如下:
 
第一步:打开文件include/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);
 
删除之后保存就可以了

随机织梦源码推荐

二维码
意见反馈
×