cfmgrv4 init...3
This commit is contained in:
parent
f34699cfef
commit
fffbfd54fa
@ -107,7 +107,7 @@ class Zone extends Cloudflare
|
||||
private function setCFSettingSSL(string $uid, string $field, string $value): string
|
||||
{
|
||||
$datas = ['value' => $value];
|
||||
$cf = $this->getMySocket()->patch('zones/' . $uid . '/settings/' . $field, $datas);
|
||||
$cf = $this->getMySocket()->patch('zones/' . $uid . '/settings/ssl', $datas);
|
||||
$cf = json_decode($cf->getBody());
|
||||
if (!$cf->success || $cf->result->id !== $field) {
|
||||
$message = "Zone:" . __FUNCTION__ . "에서 실패:\nrequest:" . var_export($datas, true) . "\nresponse:" . var_export($cf, true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user