Added new IP site

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-26 20:57:13 +01:00
parent f476cf6943
commit c77a3c2f87

View File

@ -61,7 +61,12 @@ class Utils extends Thread{
if(preg_match('#Your IP address is ([0-9a-fA-F\:\.]*)#', $ip, $matches) > 0){
return $matches[1];
}else{
return false;
$ip = trim(Utils::curl_get("http://ifconfig.me/ip"));
if($ip != ""){
return $ip;
}else{
return false;
}
}
}
}