get_sock 함수 수정

This commit is contained in:
thisgun
2017-09-06 16:38:23 +09:00
parent 94cb7f7956
commit 36fff814bf

View File

@ -2666,7 +2666,10 @@ if (!function_exists("get_sock")) {
$fp = fsockopen ($host, 80, $errno, $errstr, 30); $fp = fsockopen ($host, 80, $errno, $errstr, 30);
if (!$fp) if (!$fp)
{ {
die("$errstr ($errno)\n"); //die("$errstr ($errno)\n");
echo "$errstr ($errno)\n";
return null;
} }
else else
{ {