互补网网专做高品质CMS教程,所有教程均为站长亲测有效后发布。
您当前所在位置:互补网首页 > DEDECMS > DEDE基础教程 >

织梦删除网站版权信息调用cfg_powerby中的Power by DedeCMS

发布时间:2019-08-09热度:0

在系统参数配置了“网站版权信息”文件,然后在footer.htm文件中使用{dede:global.cfg_powerby/}调用时大家发现底部多了个“Power by DedeCms”版权链接,下面教大家如何删除Power by DedeCms这个版权信息。

修改include/dedesql.class.php文件,查找(Ctrl+F5)“(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79)”

删掉以下代码,更新首页html即可。

$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);
本文地址:http://www.25923.com/dedecms/shiyong/080952.html(转载请保留)