专业的主机测评网
我们一直在努力

dedecms织梦去除版权powered by dedecms方法

选主机收集整理的这篇文章主要介绍了dedecms织梦去除版权powered by dedecms方法,选主机小编觉得挺不错的,现在分享给大家,也给大家做个参考。

织梦官方5.7版本升级后,版权标签{dede:global name='cfg_powerby'/}调用出来后会出现:“powered by dedecms”,选主机建议您不要去掉,毕竟用了开源程序,最好尊重下版权,织梦开源程序也不容易,希望大家也支持下。

dedecms织梦去除版权powered by dedecms方法

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

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

1
2
3
4
5
$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);

改成:

1
2
$arrs1=array();
$arrs2=array();

警告:请大家不要用记事本打开,容易导致后台验证码不显示。用专业网页编辑软件修改。

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

总结:
以上是选主机为你收集整理的dedecms织梦去除版权powered by dedecms方法全部内容,希望文章能够帮助到大家。
如果觉得选主机网站内容还不错,欢迎将选主机网站推荐给好友。

未经允许不得转载:选主机 » dedecms织梦去除版权powered by dedecms方法
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

免费领取阿里云 优惠券 代金券

2000元代金券新人福利