mirror of https://github.com/TildeNIC/site.git
Update includes/main.php
This commit is contained in:
parent
a70d65a560
commit
6f5cc58c21
|
@ -64,7 +64,7 @@ $dnsServers = getDnsServersInfo();
|
||||||
//}
|
//}
|
||||||
function checkServerStatus($server) {
|
function checkServerStatus($server) {
|
||||||
$port = 53; // DNS port, change if necessary
|
$port = 53; // DNS port, change if necessary
|
||||||
$timeout = 5; // Timeout in seconds
|
$timeout = 10; // Timeout in seconds
|
||||||
|
|
||||||
$fp = @fsockopen($server, $port, $errno, $errstr, $timeout);
|
$fp = @fsockopen($server, $port, $errno, $errstr, $timeout);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue