Open Neonapple opened 4 years ago
A license key/API key field is needed for maxmind GeoIP2.
Currently, the "class-maxmind-geolite2.php" file has to be modified manually to hard code the license key directly into the fetch URL such as:
define( 'IP_GEO_BLOCK_GEOLITE2_DB_IP', 'GeoLite2-Country.mmdb' ); define( 'IP_GEO_BLOCK_GEOLITE2_DB_ASN', 'GeoLite2-ASN.mmdb' ); define( 'IP_GEO_BLOCK_GEOLITE2_ZIP_IP', 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=XXXXXXXXXXX&suffix=tar.gz' ); define( 'IP_GEO_BLOCK_GEOLITE2_ZIP_ASN', 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=XXXXXXXXXXX&suffix=tar.gz' ); define( 'IP_GEO_BLOCK_GEOLITE2_DOWNLOAD', 'https://dev.maxmind.com/geoip/geoip2/geolite2/' );
A license key/API key field is needed for maxmind GeoIP2.
Currently, the "class-maxmind-geolite2.php" file has to be modified manually to hard code the license key directly into the fetch URL such as: