移除行为日志模块
This commit is contained in:
@@ -1 +1 @@
|
||||
APP_DEBUG = false
|
||||
APP_DEBUG = false
|
||||
@@ -43,7 +43,7 @@ class Plugin extends \sent\Addons{
|
||||
if($config['display']){
|
||||
$info['users'] = Db::name('Member')->where($map)->count();
|
||||
$info['userall'] = Db::name('Member')->count();
|
||||
$info['action'] = Db::name('ActionLog')->where(array('create_time'=>array('gt',strtotime(date('Y-m-d')))))->count();
|
||||
$info['form'] = Db::name('Form')->count();
|
||||
$info['category'] = Db::name('Category')->count();
|
||||
$info['model'] = Db::name('Model')->count();
|
||||
$this->assign('info',$info);
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-aqua">
|
||||
<div class="inner">
|
||||
<h3>{$info['action']}</h3>
|
||||
<p>操作日志</p>
|
||||
<h3>{$info['form']}</h3>
|
||||
<p>自定义表单数</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="fa fa-envelope"></i>
|
||||
|
||||
Reference in New Issue
Block a user