首頁  >  文章  >  CMS教程  >  怎麼去除織夢底部的powered by dedecms

怎麼去除織夢底部的powered by dedecms

(*-*)浩
(*-*)浩原創
2019-11-30 14:57:002824瀏覽

怎麼去除織夢底部的powered by dedecms

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

現在告訴大家怎麼去除織夢底部的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