Power by DedeCms怎么去掉 – DeDecms


avatar
pcwnas 2023-04-21 244

原文来自:https://www.zixuephp.com

Power by DedeCms怎么去掉

织梦现在已经升级到5.7版本,不升级的用户漏洞和程序出错的几率很大,但是升级之后就会在每个页面的下面都出现Power by DedeCms,很多站长都想去掉,其实在这里建议大家不用去,毕竟免费用人家的开源程序.

至于怎么去掉,这里教下大家,建议站长们去掉之后,可以在自己的友情链接上面加上织梦的链接.

要想去掉的话,就在FTP文件include/dedesql.classs.php文件中找到第588行:

  1. $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();

或者是直接注释掉就可以了,这样全站生成下就会发现没有了.