chore: rename ipdb class name

This commit is contained in:
Emil Zhai 2022-12-05 10:08:40 +00:00
parent 0058c4e46e
commit 7d1905a556
No known key found for this signature in database
GPG Key ID: 780B385DB72F1EBD
2 changed files with 2 additions and 4 deletions

View File

@ -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';

View File

@ -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'];
}
}