dedecms 织梦二次开发

最近用织梦开发一个企业网站的时候,看到底部有一个 Power by DedeCms,
导致页面样式错乱了,并且影响排版就需要去掉了,找了半天也没找到这个字符,上网一查发现隐藏在include/dedesql.class.php 中 有两行:

// $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);

把这两行注释掉即可。

参考来源:http://www.dede58.com/a/dedejq/4655.html

You May Also Like