cfmgrv4 init...3
This commit is contained in:
parent
e318f06a0e
commit
d8fe875eec
@ -110,6 +110,12 @@ class RecordController extends CloudflareController
|
||||
}
|
||||
$cnt++;
|
||||
}
|
||||
//Type이 A형식일경우 IP형태인지 확인
|
||||
if ($this->formDatas['type'] === 'A') {
|
||||
if (!$this->helper->isIPAddress($this->formDatas['content'], $this->formDatas['type'])) {
|
||||
throw new \Exception("{$this->formDatas['type']}, {$this->formDatas['content']} 형식 오류[사설IP 않됨]");
|
||||
}
|
||||
}
|
||||
//Socket처리
|
||||
$entitys = [];
|
||||
foreach ($this->formDatas['hosts'] as $host) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user