織夢模板的底部版權(quán)怎么去掉?

閱讀 ?·? 發(fā)布日期 2019-06-29 10:24 ?·? admin
經(jīng)驗一:

一般都在footer.htm里面,找到這行代碼去掉就可以了

經(jīng)驗二:
由于織夢DEDECMS程序6月份的漏洞,很多織夢網(wǎng)站都被黑了,所以大家都在抓緊時間更新系統(tǒng)補丁。 
但是這次的DEDECMS V5.7版本更新后,在前臺網(wǎng)頁底部會出現(xiàn)織夢版權(quán)信息 “powered by dedecms”,很多人都不知道怎么去掉的(不建議你去掉,畢竟程序是人家開發(fā)的,你免費用了),因為這段代碼并不存在于HTM模板中。 
小菜現(xiàn)在告訴大家怎么去除織夢底部的 powered by dedecms版權(quán)信息: 
在 include/dedesql.classs.php文件中找到第588行: 
代碼如下: 
$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(); 
保存文件并上傳即可。大家如果覺得實在影響美觀或者怕導(dǎo)出權(quán)重,建議去掉后在網(wǎng)頁首頁友情留個官方鏈接或者底部信息留個powered by dedecms 不帶鏈接即可,請大家尊重版權(quán)哈!