cfmgr init...3
This commit is contained in:
parent
16fe0e2a6d
commit
3c8fcf8363
@ -100,10 +100,10 @@ abstract class API
|
||||
final public function reload(int $page_limit = 0): array
|
||||
{
|
||||
$cfResults = $this->reload_cfResults($page_limit);
|
||||
Log::add("notice", "-----{$this->getParent()->getTitle()} {$this->getClassName()} 처리[" . count($cfResults) . "개] 시작-----");
|
||||
Log::add("notice", "-----{$this->getParent()->getTitle()} {$this->getClassName()} cfResult 처리[" . count($cfResults) . "개] 시작-----");
|
||||
$entitys = $this->reload_entitys($cfResults);
|
||||
$this->reload_delete($entitys);
|
||||
Log::add("notice", "-----{$this->getParent()->getTitle()} {$this->getClassName()} 처리[" . count($entitys) . "개] 완료-----");
|
||||
Log::add("notice", "-----{$this->getParent()->getTitle()} {$this->getClassName()} DB 처리[" . count($entitys) . "개] 완료-----");
|
||||
return $entitys;
|
||||
}
|
||||
}
|
||||
|
||||
@ -86,6 +86,6 @@ class Firewall extends API
|
||||
protected function getCFResults_List(int $page): array
|
||||
{
|
||||
$this->_endPoint = is_null($this->_endPoint) ? new \Cloudflare\API\Endpoints\Firewall($this->getAdapter()) : $this->_endPoint;
|
||||
return $$this->_endPoint->listFirewallRules($this->getParent()->getPrimaryKey(), $page, CF_ADAPTER_PERPAGE_MAX)->result;
|
||||
return $this->_endPoint->listFirewallRules($this->getParent()->getPrimaryKey(), $page, CF_ADAPTER_PERPAGE_MAX)->result;
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<h2><a href="/admin/cloudflare/record"><i class="fa fa-cube"></i>Record관리</a></h2>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<i class="fa fa-shield"></i>Firewall관리
|
||||
<h2><a href="/admin/cloudflare/firewall"><i class="fa fa-cube"></i>Firewall관리</a></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user