diff --git a/src/utils/Utils.php b/src/utils/Utils.php index 4651e4ab8..a83793fbf 100644 --- a/src/utils/Utils.php +++ b/src/utils/Utils.php @@ -28,7 +28,7 @@ class Utils{ public static $ip = false; public static function isOnline(){ - return ((@fsockopen("google.com", 80, $e = null, $n = null, 2) !== false or @fsockopen("www.linux.org", 80, $e = null, $n = null, 2) !== false or @fsockopen("www.php.net", 80, $e = null, $n = null, 2) !== false) ? true:false); + return ((@fsockopen("8.8.8.8", 80, $e = null, $n = null, 2) !== false or @fsockopen("www.linux.org", 80, $e = null, $n = null, 2) !== false or @fsockopen("www.php.net", 80, $e = null, $n = null, 2) !== false) ? true:false); } public static function getUniqueID($raw = false, $extra = ""){