首页  >  文章  >  CMS教程  >  织梦如何去掉底部的织梦版权信息powered by dedecms

织梦如何去掉底部的织梦版权信息powered by dedecms

藏色散人
藏色散人原创
2019-12-10 10:18:582600浏览

织梦如何去掉底部的织梦版权信息powered by dedecms

织梦如何去掉底部的织梦版权信息powered by dedecms?

由于织梦DEDECMS程序6月份的漏洞,很多织梦网站都被黑了,所以大家都在抓紧时间更新系统补丁。 

推荐学习:织梦cms

但是这次的DEDECMS V5.7版本更新后,在前台网页底部会出现织梦版权信息 “powered by dedecms”,很多人都不知道怎么去掉的(不建议你去掉,毕竟程序是人家开发的,你免费用了),因为这段代码并不存在于HTM模板中。 

现在告诉大家怎么去除织梦底部的 powered by dedecms版权信息: 

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

代码如下:

$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();

保存文件并上传即可。大家如果觉得实在影响美观或者怕导出权重,建议去掉后在网页首页友情留个官方链接或者底部信息留个powered by dedecms 不带链接即可,请大家尊重版权哈!

以上是织梦如何去掉底部的织梦版权信息powered by dedecms的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn