Sfoglia il codice sorgente

clientareafunctions

andre 3 anni fa
parent
commit
c8a0925057
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 8 8
      cwp7.php

+ 8 - 8
cwp7.php

@@ -338,16 +338,16 @@ function cwp7CheckDNS($domain, $serverIP) {
 		);
 		);
 	}
 	}
 	$domainA = $result->answer;
 	$domainA = $result->answer;
-	if($domainA[0]->address == $serverIP){
 
 
-		logModuleCall(
-			'cwp7',
-			__FUNCTION__,
-			$domainA,
-			'debug',
-			$result
-		);
+	logModuleCall(
+		'cwp7',
+		__FUNCTION__,
+		$domainA,
+		'debug',
+		$result
+	);
 
 
+	if($domainA[0]->address == $serverIP){
 		return true;
 		return true;
 	}
 	}
 }
 }