mirror of
https://github.com/kokororin/typecho-plugin-Access.git
synced 2026-08-19 10:23:27 +08:00
feat: change default page to overview
This commit is contained in:
@@ -43,16 +43,16 @@ class Access_Core
|
||||
$ipdbPath = dirname(__file__).'/lib/ipipfree.ipdb';
|
||||
$this->ipdb = new Access_Ip($ipdbPath);
|
||||
switch ($this->request->get('action')) {
|
||||
case 'overview':
|
||||
$this->action = 'overview';
|
||||
$this->title = _t('访问概览');
|
||||
break;
|
||||
case 'logs':
|
||||
default:
|
||||
$this->action = 'logs';
|
||||
$this->title = _t('访问日志');
|
||||
$this->parseLogs();
|
||||
break;
|
||||
case 'overview':
|
||||
default:
|
||||
$this->action = 'overview';
|
||||
$this->title = _t('访问概览');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user