怎样去除织梦版权信息中的Power by DedeCms




怎样去除织梦版权信息中的Power by DedeCms

       2021年04月07日 - DOMMO       

怎样去除织梦版权信息中的Power by DedeCms

Power by DedeCms链接就是{dede:global.cfg_powerby/}标签中自带的代码,既然{dede:global.cfg_powerby/}中自带了Power by DedeCms链接,那么我们就直接到系统文件中,找到对应代码,将这自带的Power by DedeCms删除,就可以了。

方法:

(1)打开文件:网站根目录/include/dedesql.class.php
(2)打开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,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();

之后生成网站,查看一下底部版权中的Power by DedeCms就去除了。

- THE END -

2,662
0


 " 马上登录 "  发表自已的想法!

农家小院监控作业

在外地工作可以天天看到父母,随时看到老家的面貌。