cfmgrv4 init...4

This commit is contained in:
최준흠 2024-11-18 11:15:59 +09:00
parent 3361dd891d
commit c91e7270db

View File

@ -163,8 +163,9 @@ class ZoneService extends CloudflareService
{
$whois = Factory::get()->createWhois();
$info = $whois->loadDomainInfo($entity->getTitle());
$formDatas = ['expire_date' => date("Y-m-d", $info->expirationDate)];
$this->getModel()->modify($entity, $formDatas);
$expire_date = date("Y-m-d", $info->expirationDate);
$this->getModel()->modify($entity, ['expire_date' => $expire_date]);
log_message('debug', __FUNCTION__ . " : {$entity->getTitle()} => {$expire_date}");
}
//Reload