升级最新版dedecms程序后如何去除Power by DedeCms字样

Filed in DEDECMS 0 comments

自从dedecms织梦系统更新到7.15日的版本,底部版权信息调用标签{dede:global.cfg_powerby/}会自动加上织梦官方的链接“Power by DedeCms”,可能很多人都想去除这样的内容,本文呢就提供一个方法,当然用dedecms的,还是尊重官方的行为,查找文件: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);

删除这段代码即可解决这个问题

Posted by Pubcn Net   @   3 一月 2014 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

Sorry, comments are closed.

Previous Post
«
Next Post
»

© 2008 - 2012 86988.Net All rights reserved.
Powered by 86988.Net QQ:5343726 Email: info@86988.net
豫ICP备11009104号 -
We are specializing in windows server 2012 , IIS8 , PHP-FastCgi , Web Performance