fix(yeswiki-installer) : replace DNS lookup with ip pings
This commit is contained in:
parent
2dbc525925
commit
7cd4c7de9f
2 changed files with 16 additions and 13 deletions
|
@ -84,7 +84,7 @@ if (0 == posix_getuid()) {
|
|||
//$isFullDomain = !preg_match('/.'.$_SERVER['maindomain'].'$/isU', $domain, $matches, PREG_OFFSET_CAPTURE, 0);
|
||||
$isFullDomain = !preg_match('/^([a-zA-Z0-9]([-a-zA-Z0-9]{0,61}[a-zA-Z0-9])\.)([a-zA-Z0-9]{1,2}([-a-zA-Z0-9]{0,252}[a-zA-Z0-9])?)\.([a-zA-Z]{2,63})$/isU', $domain, $matches, PREG_OFFSET_CAPTURE, 0);
|
||||
if (!$nossl) {
|
||||
checkDNS($domain, $isFullDomain, $noip6);
|
||||
checkIP($domain, $isFullDomain, $noip6);
|
||||
}
|
||||
checkIfInstalled($domain);
|
||||
$needHerse = checkHerse($herseUser, $hersePass);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue