織夢如何去除底部的織夢版權資訊powered by dedecms?
由於織夢DEDECMS程式6月的漏洞,許多織夢網站都被駭了,所以大家都在抓緊時間更新系統修補程式。
推薦學習:織夢cms
但這次的DEDECMS V5.7版本更新後,在前台網頁底部會出現織夢版權資訊「powered by dedecms ”,很多人都不知道怎麼去掉的(不建議你去掉,畢竟程式是人家開發的,你免費用了),因為這段程式碼並不存在於HTM模板中。
現在告訴大家怎麼去除織夢底部的powered by dedecms版權資訊:
在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();
儲存檔案並上傳即可。大家如果覺得實在影響美觀或怕導出權重,建議去掉後在網頁首頁友情留個官方連結或是底部資訊留個powered by dedecms 不帶連結即可,請大家尊重版權哈!
以上是織夢如何去除底部的織夢版權資訊powered by dedecms的詳細內容。更多資訊請關注PHP中文網其他相關文章!