Rely on NGINX GeoIP2 module for country code lookup.
This commit is contained in:
parent
911c12a3b0
commit
d69f7c2abf
28 changed files with 101 additions and 461 deletions
|
@ -7,7 +7,6 @@ use Index\Data\ConnectionFailedException;
|
|||
use Index\Data\DbTools;
|
||||
use Misuzu\Config\IConfig;
|
||||
use Misuzu\Config\DbConfig;
|
||||
use Misuzu\Net\IPAddress;
|
||||
use Misuzu\Users\User;
|
||||
use Misuzu\Users\UserNotFoundException;
|
||||
use Misuzu\Users\UserSession;
|
||||
|
@ -127,8 +126,6 @@ if(!is_readable(MSZ_STORAGE) || !is_writable(MSZ_STORAGE)) {
|
|||
exit;
|
||||
}
|
||||
|
||||
IPAddress::init($msz);
|
||||
|
||||
if(!MSZ_DEBUG) {
|
||||
$twigCacheDirSfx = GitInfo::hash(true);
|
||||
if(empty($twigCacheDirSfx))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue