Use ehcpforce.tk IP service
This commit is contained in:
parent
cba950c39c
commit
56c5fdab11
1 changed files with 1 additions and 1 deletions
|
@ -117,6 +117,6 @@ if($user_email<>'') mail($user_email,'Your EHCP Force installation completed suc
|
||||||
|
|
||||||
$realip=getlocalip2();
|
$realip=getlocalip2();
|
||||||
if(!$app->isPrivateIp($ip)) $realip.="-realip"; # change subject if this is a server with real ip...
|
if(!$app->isPrivateIp($ip)) $realip.="-realip"; # change subject if this is a server with real ip...
|
||||||
$ip2=trim(file_get_contents("http://ehcp.net/diger/myip.php"));
|
$ip2=trim(file_get_contents("https://ehcpforce.tk/ip.php"));
|
||||||
$message.="\noutside Ip detected:$ip2";
|
$message.="\noutside Ip detected:$ip2";
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue