浏览代码

clientareafunctions

andre 3 年之前
父节点
当前提交
6bda211255
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cwp7.php

+ 1 - 1
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(':', $domain), -1, 1);
+				$whoisServer = array_slice(explode(':', $row), -1, 1);
 			}
 		}
 	} else {