dedecms如何去除底部Power by DedeCms链接
锐菱小石头
阅读:709
2018-06-01 16:39:58
评论:0
今天在使用{dede:global.cfg_powerby/} 这个标签的时候发现网站底部除了自己添加的版权信息外,还多了一句Power by DedeCms 而且还加了链接,去掉的方法。
方法一:删除powerby代码
就是找到源码删掉 Power by DedeCms 这句话。这个怎么删呢?在include/dedesql.class.php 文件的587到592行之间的
就是找到源码删掉 Power by DedeCms 这句话。这个怎么删呢?在include/dedesql.class.php 文件的587到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);
这段代码给删掉,或者注释掉都可以,这样我们再看底部版权,发现已经正常了,没有Power by DedeCms这句话了。
发表评论