mirror of
https://github.com/kokororin/typecho-plugin-Access.git
synced 2026-08-19 10:23:27 +08:00
feat: change default tab to logs for better performance
This commit is contained in:
@@ -43,15 +43,14 @@ class Access_Core
|
||||
$this->action = 'migration';
|
||||
$this->title = _t('数据迁移');
|
||||
break;
|
||||
case 'logs':
|
||||
$this->action = 'logs';
|
||||
$this->title = _t('访问日志');
|
||||
break;
|
||||
case 'overview':
|
||||
default:
|
||||
$this->action = 'overview';
|
||||
$this->title = _t('访问概览');
|
||||
break;
|
||||
default:
|
||||
$this->action = 'logs';
|
||||
$this->title = _t('访问日志');
|
||||
break;
|
||||
}
|
||||
$this->hasMigration = (new Access_Migration($this->request))->exists();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user