明友网络工作室专业从事网站被黑, 网站被挂马,网站被跳转, phpweb被黑,dede被黑, 网站被攻击,等各种网站问题  国家工商局登记  国家公安部备案:赣公网安备 36100202000384号    明友网络技术资讯

您现在的位置: 主页 > 技术资讯 > 网站被挂马 >

明友网络产品感恩回馈,历来超低价
网站模板:永久免费使用
网站搬家/修改:20-50元/个
网站杀毒/修复:30-60元/站
服务器安全维护:50-60元/个
网站开发/定制:600元起步
后台密码找回:30元/个
域名空间:55-68元/个
手机微信同号:18179454891
技术QQ:2573214053 在线咨询

去掉网站模板powered by dedecms的方法

网站模板CMS 5.7 最近的补丁更新后,网站底部出现了织梦的版权信息“powered by dedecms”,因为这段代码不在模板里面,所以很多人不知道怎么去掉,下面就告诉你删除powered by dedecms的方法。
 
在include/dedesql.class.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(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);
注释方法:/*开头  */结束就行       /* 这里是织梦的版权代码 */
 
这样网站底部的织梦的版权信息“powered by dedecms”就删除了。
 
 
题外话,在不影响网站的情况下,不建议去掉,毕竟程序是人家开发的,尊重下织梦版权,大家自由决定。

如果觉得麻烦,可以联系我们进行处理。手机微信同号:18179454891     QQ:2573214053在线咨询

假如我们资讯/文章对您有所帮助,您可以通过扫描捐赠二维码支持一下我们~

感谢您对我们的支持,您的小小支持让我们有信心走得更远!

责任编辑:明友网络
收缩