掌控QQ提供QQ活动、QQ技巧、QQ资讯 收藏本站·RSS订阅
您现在的位置:主页 >>电脑故障 >>

织梦CMS更新补丁后网站出现Power by DedeCms版权链接怎么去除?

标签:织梦 版权  日期:2013-06-20 20:25来源:掌控QQ围观  次
故障现象:一个朋友的网站使用的是织梦5.7SP1的CMS,6月8日更新了下官方的6月7日补丁,再次发布文章的时候在网站顶部调用的cfg_powerby在后面总会加上Power by DedeCms,但网站版权信息里面并没有填入这些信息
解决方法:既然是更新后才出现的这个问题那么就去查看6月7日补丁更新了哪些东西,经过查看include目录下的dedesql.class.php里面有一串东西让人有些疑虑,代码如下:
$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已经消失。