织梦Dedecms如何去掉或删除power by Dedecms的方法如下:
如果你的网页中出现power by Dedecms,或power by xxx。你就去找include/目录下的dedesql.class.PHP。然后打开。
然后查看代码(最好是用dreamweaver这样的编辑器,会显示页码)。
在include/dedesql.class.PHP文件会多出第588到第592行的那几段代码(也可以复制以下一小段代码进行搜索),代码大致如下:
$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79); $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x3d,0x74,0x3a,0x2f,0x2e,0x64,0x63,0x6d,0x73,0x27,0x6c,0x6e,0x6b,0x3e,0x50,0x79,0x44,0x43,0x3e);
把这段代码直接删除或注释掉,保存上传覆盖,然后更新网页,就可以去掉网页中出现power by Dedecms了。
原文链接:https://www.f2er.com/dedecms/534375.html