metinfo V1.5版程序在本机测试完后,上传到空间。弹出对话框后就自己跳转到了metinfo网站了。metinfo 是目前开源企业网站代码中还算比较好的。免费使用时要保留他的metinfo和连接。可朋友又不想保留:)
后来看到网上的去版说明:
—————————————————————————————————-
1. \include\global.func.php
查找: function footer()
注释本行:
/**if(!strstr($output,"MetInfo"))die("在未经授权前,请不要尝试去掉'Powered by MetInfo'版权标识!");**/
2. \include\global.func_linux.php
查找: function footer()
注释本行:
/**if(!strstr($output,"MetInfo"))die("在未经授权前,请不要尝试去掉'Powered by MetInfo'版权标识!");**/
3. \templates\*\foot.html (注: *号表示模版风格文件夹)
查找: " $metcms_v " 删除红色字符
<br />Powered by <a href="http://www.MetInfo.cn" target="_blank" title="企业网站管理系统"><b>MetInfo</b></a> $metcms_v ©2008-$m_now_year <a href="http://www.MetInfo.cn" target="_blank" title="企业网站建设">www.MetInfo.cn</a>
注: 红色字符处的内容,会因模版不同而有所差异!
4. \include\head.php
找到: 红色代码(约在38行),注释掉
if(md5($rightok[1])!=$otherinfo[rightmd5]){
okinfo('http://www.metinfo.cn',$otherinfo[righttext]);
5. \product\product.php
找到: 红色代码(约在97行),注释掉
if(md5($rightok[1])!=$otherinfo[rightmd5]){
okinfo('http://www.metinfo.cn',$otherinfo[righttext]);
如因修改后,造成首页无法显示, 需在安装数据库中找到" $_otherinfo"的数据表,清空里面数据,才可重新生成!($表示安装表前缀)
本文仅供小峰技术研究,http://hi.baidu.com/sz_xiaofeng/blog/item/27aeb6fc9f8fe68bb801a04f.html
———————————————————————————————–
其实以上几步,我没看这到这个文章的时候,都已经改了。可打开后,发现数据库中的内容读不出来
才到网上搜索一下的。后来发现是 config_db.php 中 tablepre = "xt_" 前辍大小写的问题。
另外还有admin\include\global.func.php 32号也有1的代码。
Powered by MetInfo去除在include\common.inc.php文件中
$met_c_webname=$met_c_webname."–Powered by MetInfo";
$met_e_webname=$met_e_webname."–Powered by MetInfo";
以上内容,仅技术学习交流
。需去版权的可到官方购买授权。
开源企业网站 metinfo V1.5 破解 去版权 修改metinfo跳转
bywzy 发表于 程序设计 分类,
10
八月
2009
0