首页 > CMS > 织梦DEDE > 正文

DEDECMS5.7怎么去掉底部的 powered by dedecms

2024-07-12 08:41:52
字体:
来源:转载
供稿:网友

powered by dedecms在以前版本时我们会看到写在了php或html模板中了,但是现在由于商业了,这些代码一般站长都找不到在哪里了,那么下面111cn小编来告诉各位删除powered by dedecms方法.

在include/dedesql.class.php文件中找到第588行,代码如下:

  1. $arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79); 
  2. $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f, 
  3. 0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72, 
  4. 0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20, 
  5. 0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e); //Vevb.com 
  6. //改成: 
  7. $arrs1 = array(); 
  8. $arrs2 = array(); 

然后保存上传了.

注意:对于有些页面还有powered by dedecms我们可以利用替换工具实现批量全部替换powered by dedecms就可以了.

例子:我们利用adodb dw cs5了,然后打开一个页面按ctrl+f在弹出查找替换页面我们定位查找目录为指定文件夹,然后就可以查找替换了.

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表