Index: trunk/extensions/LandingCheck/SpecialLandingCheck.php |
— | — | @@ -24,6 +24,7 @@ |
25 | 25 | |
26 | 26 | $country = $wgRequest->getVal( 'country' ); |
27 | 27 | // If no country was passed, try to do GeoIP lookup |
| 28 | + // Requires php5-geoip package |
28 | 29 | if ( !$country && function_exists( geoip_country_code_by_name ) ) { |
29 | 30 | $ip = wfGetIP(); |
30 | 31 | if ( IP::isValid( $ip ) ) { |