遇到问题:第三方网站下载的模板版权信息填写的不是默认织梦官方网址,如何修改
解决办法:
打开include/目录下的dedesql.class.php文件,587行,注释掉以下代码
$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);
当然也可以直接在后台再创建添加新变量,然后在源代码中调用自己新增的变量,这样也不会有Power by DedeCms
转载请注明:大灰牛博客 » 怎么删除织梦版权信息中的PowerByDedeCms链接