Skip to content

Commit

Permalink
use https
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Dec 20, 2024
1 parent 783d96f commit da1816c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/pages/account/create.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
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);
Expand Down

0 comments on commit da1816c

Please sign in to comment.