Join the community today
Become a Member

Beta Branch Update GeoIP2 Lite add $geoip2_data_rcountry_is_eu variable

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 10, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    59,401
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    12:41 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Last edited: May 10, 2018
  2. wmtech

    wmtech Active Member

    188
    44
    28
    Jul 22, 2017
    Ratings:
    +139
    Local Time:
    4:41 AM
    The same should also be done for "country" data. Sometimes this is different from "registered_country". "Country" specifies the country where the ip is used and "registered_country" specifies the country where the ip is registered (e.g. company headquarter).

    What’s New in GeoIP2 « MaxMind Developer Site

    Code:
    $geoip2_data_country_is_eu country is_in_european_union;
     
  3. eva2000

    eva2000 Administrator Staff Member

    59,401
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    12:41 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    As yes missed that one - will add it :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    59,401
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    12:41 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+