[织梦建站]织梦版权去除powered by dedecms

织梦官方5.7版本升级后,版权标签{dede:global name=’cfg_powerby’/}调用出来后会出现:“powered by dedecms”。

虽说开源程序应该保护一下版权,但是织梦CMS已经好久没有更新过了,一些不法之徒一眼看到你的网站是织梦,只会便于他们入侵。

所以无言决定去除这个版权显示。

在/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();
$arrs2=array();

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

保存文件并上传即可。

为TA充电
人已赞赏
建站教程次元

[织梦建站]网站安全防护简单五步DEDECMS

2019-12-17 16:04:19

建站教程次元

[织梦开发]为DEDECMS后台增加多个栏目内容

2019-12-20 11:23:36

无言资源博客
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
今日签到
有新私信 私信列表
搜索