本站为您提供杰奇模板、独立版WAP程序模板、杰奇插件、教程、采集规则

织梦dedecms如何去掉powered by dedecms

17mb 发表于 2018-06-03  /  查看:  /  分类:织梦cms教程

使用开源的dedecms我们是建议不去掉个别地方添加版权提示的,但有些站长为了美观或者为了推广不得已要去掉,本文告诉大家如何去掉:

找到并打开这个文件include/dedesql.class.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();

修改保存即可,最好是用专业的编辑器修改,例如dw、notepad++、phpstorm等,因为文件有编码,直接使用记事本修改可能会修改文件原来的编码。

本文地址:https://www.17mb.com/study/dedecms/88.html

附件下载

    文章评论

    在下面输入回复(网友观点不代表本站观点,请文明发言,遵守法律法规!)