Explorar o código

clientareafunctions

andre %!s(int64=3) %!d(string=hai) anos
pai
achega
860838c615
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      cwp7.php

+ 2 - 1
cwp7.php

@@ -385,7 +385,8 @@ function cwp7CheckA($domain, $serverIP, $recurse = 0) {
 }
 
 function cwp7CheckSOA($domain) {
-	$whoisData = Net_Whois::query('whois.internic.net','example.org');
+	$whois = new Net_Whois();
+	$whoisData = $whois->query('whois.internic.net','example.org');
 /*	$nameserver = array('10.200.22.100');
 	$resolver = new Net_DNS2_Resolver(array('nameservers' => $nameserver));
     try {