mirror of
https://github.com/kokororin/typecho-plugin-Access.git
synced 2025-01-13 13:51:03 +08:00
chore: rename ipdb class name
This commit is contained in:
parent
0058c4e46e
commit
7d1905a556
@ -41,7 +41,7 @@ class Access_Core
|
||||
}
|
||||
$this->ua = new Access_UA($this->request->getAgent());
|
||||
$ipdbPath = dirname(__file__).'/lib/ipipfree.ipdb';
|
||||
$this->ipdb = new Access_Ip($ipdbPath);
|
||||
$this->ipdb = new Access_IpDb($ipdbPath);
|
||||
switch ($this->request->get('action')) {
|
||||
case 'logs':
|
||||
$this->action = 'logs';
|
||||
|
@ -7,7 +7,7 @@ if (!defined('__ACCESS_PLUGIN_ROOT__')) {
|
||||
throw new Exception('Boostrap file not found');
|
||||
}
|
||||
|
||||
class Access_Ip {
|
||||
class Access_IpDb {
|
||||
public $reader = NULL;
|
||||
|
||||
public function __construct($db) {
|
||||
@ -263,5 +263,3 @@ class Reader {
|
||||
return $this->meta['build'];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user