在使用dedeCMS時,會顯示出織夢的版權,版權標簽{dede:global name='cfg_powerby'/}調用出來後會出現:“powered by dedecms”,很多網友為了美觀想要去掉,建議您不要去掉,畢竟用了開源程序,最好尊重下版權,織夢開源程序也不容易,希望大家也支持下。
現在告訴大家怎麼去除織夢底部的 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 不帶鏈接即可,請大家尊重版權哈!
http://
*