Update README.md

This commit is contained in:
Kokororin 2016-08-01 15:04:53 +08:00
parent 067ca1485c
commit 6316dd47cc
2 changed files with 4 additions and 3 deletions

View File

@ -228,8 +228,8 @@ class Access_Extend
protected function parseReferer()
{
$this->referer['url'] = $this->db->fetchAll("SELECT DISTINCT referer, COUNT(*) as count FROM {$this->table} GROUP BY referer ORDER BY count DESC LIMIT {$this->pageSize}");
$this->referer['domain'] = $this->db->fetchAll("SELECT DISTINCT referer_domain, COUNT(*) as count FROM {$this->table} GROUP BY referer_domain ORDER BY count DESC LIMIT {$this->pageSize}");
$this->referer['url'] = $this->db->fetchAll("SELECT DISTINCT referer, COUNT(*) as count FROM {$this->table} WHERE referer <> '' GROUP BY referer ORDER BY count DESC LIMIT {$this->pageSize}");
$this->referer['domain'] = $this->db->fetchAll("SELECT DISTINCT referer_domain, COUNT(*) as count FROM {$this->table} WHERE referer_domain <> '' GROUP BY referer_domain ORDER BY count DESC LIMIT {$this->pageSize}");
}
protected function parseOverview()

View File

@ -5,8 +5,9 @@
### 功能简介/更新说明
* 查看IP/UV/PV
* ip归属地使用ipip.net
* ip归属地使用淘宝API
* 管理员登录时不记录日志
* 查看来源页和来源域名排名
### 使用须知