织梦网站底部的Power by DedeCms怎么去掉
你好!
我也在用!
DEDECMS
V57版本出现后,在前台网页底部会出现织梦版权信息 “powered by
dedecms”,很多人都不知道怎么去掉的(当然了,学技巧不建议你去掉,毕竟程序是人家开发的,你免费用了),因为这段代码并不存在于HTM模板中。
其实还有一种方法,等等也教教大家。
学技巧现在告诉大家怎么去除织梦底部的 powered by dedecms版权信息:
学技巧不太赞同第一种方法,感觉第二个还算比较实用点。
大家运行sql语句的时候注意把数据表的前缀修改为自己的。
希望对你有所帮助~~~
打开文件 include/dedesqlclassphp 有几行代码如下:
$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);
大概在第588行起吧,这些代码明显“不正常”对吧,注释或者删了这些代码,也就不会再有版权连接信息了。
以上两种方法任选其一,都可以去除织梦底部版权信息。
更多的去找寻梦资源网
首先打开文件管理器找到include/dedesqlclassphp,打开该文件找到该文件的
$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);
然后删除就可以了。
0条评论