我们调用织梦 {dede:global.cfg_powerby/} 的时候,特别是在第三方源码网站下载的源代码会出现删不掉 Power by xxx。而且后台也没有。
解决办法:
找到 include/dedesql.class.php 查找 $arrs1
$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,0x6D,0x6F,0x6B,0x65,0x38,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,0x6D,0x6F,0x6B,0x65,0x38,0x3c,0x2f,0x61,0x3e);