diff options
Diffstat (limited to 'plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php')
-rwxr-xr-x | plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php b/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php index 7b5b83537d..105d19e077 100755 --- a/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php +++ b/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php @@ -163,7 +163,8 @@ class Piwik_UserCountry_LocationProvider_GeoIp_ServerBased extends Piwik_UserCou */ public function isWorking() { - if (empty($_SERVER[self::TEST_SERVER_VAR])) + if (empty($_SERVER[self::TEST_SERVER_VAR]) + && empty($_SERVER[self::TEST_SERVER_VAR_ALT])) { return Piwik_Translate("UserCountry_CannotFindGeoIPServerVar", self::TEST_SERVER_VAR.' $_SERVER'); } |