我们在用dedecms做网站的时候,一般在模板footer.htm调用版权标签{dede:global.cfg_powerby/},就会发现多出现了power by dedecms。很多人不知道怎么去掉?今天太仓做网站教大家如何轻松去掉power by dedecms。
登录ftp账号,下载include/dedesql.class.php文件到电脑桌面,用记事本,或者Dreamweaver打开,大概在587到592行之间,找到以下代码,直接删掉。上传覆盖,然后生成静态,刷新以下,power by dedecms就没有了。
$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);
Copyright © 2014-2024 牛牛同城企业服务网(www.tcnn.net) 版权所有 网站备案号:苏ICP备16006495号