Răsfoiți Sursa

clientareafunctions

andre 3 ani în urmă
părinte
comite
d2316d62f4
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      cwp7.php

+ 2 - 2
cwp7.php

@@ -396,7 +396,7 @@ function cwp7CheckSOA($domain) {
 		$responseArray = str_getcsv($response, "\n");
 		foreach($responseArray as $row) {
 			if(str_starts_with($row, 'whois')) {
-				$whoisServer = array_slice(explode(':', $row), -1, 1);
+				$whoisServer = array_slice(explode(' ', $row), -1, 1);
 			}
 		}
 	} else {
@@ -414,7 +414,7 @@ function cwp7CheckSOA($domain) {
 		__FUNCTION__,
 		$tld[0],
 		'debug2',
-		$whoisServer
+		$whoisServer[0]
 	);
 	return 'none';
 }