Browse Source

clientareafunctions

andre 3 năm trước cách đây
mục cha
commit
875f962733
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      cwp7.php

+ 3 - 1
cwp7.php

@@ -393,6 +393,8 @@ function cwp7CheckSOA($domain) {
 			$response .= fgets($conn,128);
 		}
 		fclose($conn);
+		$responseArray = str_getcsv($response, "\n");
+		foreach($responseArray as &$Row) $Row = str_getcsv($Row, ";");
 	} else {
 		logModuleCall(
 			'cwp7',
@@ -408,7 +410,7 @@ function cwp7CheckSOA($domain) {
 		__FUNCTION__,
 		$tld[0],
 		'debug2',
-		nl2br($response)
+		$responseArray
 	);
 	return 'none';
 }