diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index 6dd771939..403ebd238 100755 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -674,7 +674,6 @@ class FrontControllerCore extends Controller if (!isset($this->context->cookie->iso_code_country) || (isset($this->context->cookie->iso_code_country) && !in_array(strtoupper($this->context->cookie->iso_code_country), explode(';', Configuration::get('PS_ALLOWED_COUNTRIES'))))) { include_once(_PS_GEOIP_DIR_.'geoipcity.inc'); - include_once(_PS_GEOIP_DIR_.'geoipregionvars.php'); $gi = geoip_open(realpath(_PS_GEOIP_DIR_.'GeoLiteCity.dat'), GEOIP_STANDARD); $record = geoip_record_by_addr($gi, Tools::getRemoteAddr());