怎样去除织梦版权信息中的Power by DedeCms

2022-10-6 16:18

怎样去除织梦版权信息中的Power by DedeCms

Power by DedeCms链接就是{dede:global.cfg_powerby/}标签中自带的代码,既然{dede:global.cfg_powerby/}中自带了Power by DedeCms链接,那么我们就直接到系统文件中,找到对应代码,将这自带的Power by DedeCms删除,就可以了。

方法:

(1)打开文件:网站根目录/include/dedesql.class.php
(2)打开dedesql.class.php后,通常在588-592行有下面代码:
$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);
$arrs2 = array(0x20,0,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,0,0x50,0x6f,0x77,0x65,0x72,0x20,
0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0,0x2f,0x61,0);
将这段代码更改成下面代码,就可以了:
$arrs1 = array();
$arrs2 = array();

之后生成网站,查看一下底部版权中的Power by DedeCms就去除了。

Copyright © 2002-2024 Iszw.net All Rights Reserved.      川公网安备 51010702002244号

蜀ICP备2020035322号-1    本站已开启 IPv6 访问

返回顶部