From 5a6c0481959674b70d555145ba17b2a2fcb96ad2 Mon Sep 17 00:00:00 2001 From: Zhai Yiming Date: Thu, 13 Jul 2017 19:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=80=E5=A4=84=E6=97=A0?= =?UTF-8?q?=E6=84=8F=E4=B9=89=E7=9A=84=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin.php b/Plugin.php index bc4acdf..2057b8c 100644 --- a/Plugin.php +++ b/Plugin.php @@ -135,7 +135,7 @@ class Access_Plugin implements Typecho_Plugin_Interface require_once __DIR__ . '/Access_Bootstrap.php'; $rows = $db->fetchAll($db->select()->from('table.access')); foreach ($rows as $row) { - $ua = new Access_UA($row['ua']); + $ua = new Access_UA($row['ua']); $time = Helper::options()->gmtTime + (Helper::options()->timezone - Helper::options()->serverTimezone); $row['browser_id' ] = $ua->getBrowserID(); $row['browser_version' ] = $ua->getBrowserVersion();