SRCMS V2.0.1开发版

修复 荣誉榜排行顺序问题
修复 站点名称和简介无法配置的问题
修复 荣誉榜团队无法编辑的问题
删除 Ueditor存在漏洞的截屏插件
This commit is contained in:
Martin Zhou
2017-05-31 23:03:37 +08:00
parent 382cddf85f
commit 8e5953cae3
24 changed files with 403 additions and 184 deletions

View File

@@ -18,9 +18,9 @@ class BlogController extends Controller{
$model = M('blog');
$tmodel= M('setting');
$pages = $model->limit(15)->select();
$title = $tmodel->where('id=1')->select();
$this->assign('title', $title);
$settings = $tmodel -> where('id=1') -> select();
$this->assign('model', $pages);
$this->assign('settings', $settings);
$this->display();
}