1. 首页
  2. 网站建设
  3. 织梦教程

织梦cms系统中Power by DedeCms怎么去掉,为什么版权信息里会有Power by Dedecms?

很多朋友在安装完织梦cms后,更新网站页面底部会出现Power by DedeCms。那这个Power by DedeCms为什么会出现呢,怎么去掉Power by DedeCms?这里给大家讲讲:

为什么底部页面会出现Power by DedeCms?

Power by DedeCms表示的是这个网站基于DedeCMS系统搭建而成,DedeCMS是开源免费的,但考虑到版权的问题这里建议留下说明信息。

怎么去掉Power by DedeCms呢?

去掉Power by DedeCms的方法很简单,这里我们需要更新下文件,找到include/dedesql.class.php,覆盖之前的。在文件的第588行-592行有这么一段代码:

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

我们可以把这段代码删除掉或者注释掉,保存上传覆盖后即可去掉。

END

原创文章,作者:lucky,如若转载,请注明出处:http://www.xiaomiyou.top/127.html

发表评论

邮箱地址不会被公开。 必填项已用*标注

联系我们

400-800-8888

在线咨询:点击这里给我发消息

邮件:769494835@qq.com

工作时间:周一至周五,9:30-17:30,节假日休息