emlog pro 如何去掉首页标题"未注冊的版本”字样
方法一、付费去掉
付费应该可以去掉
方法二、修改代码
文件: include\lib\option.php里,找下面这个函数
static function getAll()
{
$CACHE = Cache::getInstance();
$options_cache = $CACHE->readCache('options');
$options_cache['site_title'] = $options_cache['site_title'] ?: $options_cache['blogname'];
$options_cache['site_description'] = $options_cache['site_description'] ?: $options_cache['bloginfo'];
if (empty($options_cache['emkey'])) {
$options_cache['site_title'] = '未注册的版本 ' . $options_cache['site_title'];
}
return $options_cache;
}
注释或删除掉修改标题的几号行就可以了,改完如下
static function getAll()
{
$CACHE = Cache::getInstance();
$options_cache = $CACHE->readCache('options');
$options_cache['site_title'] = $options_cache['site_title'] ?: $options_cache['blogname'];
$options_cache['site_description'] = $options_cache['site_description'] ?: $options_cache['bloginfo'];/*
if (empty($options_cache['emkey'])) {
$options_cache['site_title'] = '未注册的版本 ' . $options_cache['site_title'];
}*/
return $options_cache;
}
emlog pro 如果是免费开源程序,大家可以修改免费来用,
如果是付费程序,想用的话就去花钱够买吧!
转载请注明出处
- 版权申明:此文如未标注转载均为本站原创,自由转载请表明出处《博瑞博客》。
- 本文网址:http://blog.neacn.com/PHP/153.html
- 上篇文章:emlog pro 未注冊 无法发贴 怎么办
- 下篇文章:代码显示测试