首頁  >  文章  >  CMS教程  >  如何去除底部的 powered by dedecms

如何去除底部的 powered by dedecms

藏色散人
藏色散人原創
2019-11-15 10:42:292293瀏覽

如何去除底部的 powered by dedecms

如何去掉底部的 powered by dedecms?

最近由於織夢DEDECMS程式6月的漏洞,許多織夢網站都被駭了,所以大家都在抓緊時間更新系統修補程式。

但是這次的DEDECMS V5.7版本更新後,在前台網頁底部會出現織夢版權信息“powered by dedecms”,很多人都不知道怎麼去掉的(不建議你去掉,畢竟程序是人家開發的,你免費用了),因為這段程式碼並不存在於HTM模板中。

推薦學習:dedecms教學

現在告訴大家怎麼去織夢底部的powered by dedecms版權資訊:

在include/dedesql.class .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中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn