From 31302003d4083a56c9b007d6957382fe84c11c77 Mon Sep 17 00:00:00 2001 From: Emil Zhai Date: Sat, 3 Dec 2022 15:18:15 +0000 Subject: [PATCH] feat: change default page to overview --- Access_Core.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Access_Core.php b/Access_Core.php index ad5bd65..80867c1 100644 --- a/Access_Core.php +++ b/Access_Core.php @@ -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; } }