diff --git a/system/pages/account/create.php b/system/pages/account/create.php index 42749a44..1c8f1e9f 100644 --- a/system/pages/account/create.php +++ b/system/pages/account/create.php @@ -333,7 +333,7 @@ if(setting('core.account_country_recognize')) { else { ini_set('default_socket_timeout', 5); - $info = json_decode(@file_get_contents('http://ipinfo.io/' . get_browser_real_ip() . '/geo'), true); + $info = json_decode(@file_get_contents('https://ipinfo.io/' . get_browser_real_ip() . '/geo'), true); if(isset($info['country'])) { $country_recognized = strtolower($info['country']); setSession('country', $country_recognized);