diff options
Diffstat (limited to 'plugins/UserCountry/LocationProvider/GeoIp/Pecl.php')
-rwxr-xr-x | plugins/UserCountry/LocationProvider/GeoIp/Pecl.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php b/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php index c4113fd9e8..aaf1d7a1b7 100755 --- a/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php +++ b/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php @@ -269,8 +269,8 @@ class Pecl extends GeoIp public static function isLocationDatabaseAvailable() { return self::isCityDatabaseAvailable() - || self::isRegionDatabaseAvailable() - || self::isCountryDatabaseAvailable(); + || self::isRegionDatabaseAvailable() + || self::isCountryDatabaseAvailable(); } /** @@ -281,7 +281,7 @@ class Pecl extends GeoIp public static function isCityDatabaseAvailable() { return geoip_db_avail(GEOIP_CITY_EDITION_REV0) - || geoip_db_avail(GEOIP_CITY_EDITION_REV1); + || geoip_db_avail(GEOIP_CITY_EDITION_REV1); } /** @@ -292,7 +292,7 @@ class Pecl extends GeoIp public static function isRegionDatabaseAvailable() { return geoip_db_avail(GEOIP_REGION_EDITION_REV0) - || geoip_db_avail(GEOIP_REGION_EDITION_REV1); + || geoip_db_avail(GEOIP_REGION_EDITION_REV1); } /** |