diff --git a/includes/class/Zone.php b/includes/class/Zone.php index baf3886..4ddf359 100644 --- a/includes/class/Zone.php +++ b/includes/class/Zone.php @@ -95,7 +95,7 @@ class Zone { $this->dnssec = $dnssec; } - private function setId($id) { + public function setId($id) { $this->id = $id; } @@ -232,6 +232,10 @@ class RRSet { $this->ttl = $ttl; } + public function setName($name) { + $this->name = $name; + } + public function addRecord($content, $disabled = FALSE) { foreach ($this->records as $record) { if ($record->content == $content) { diff --git a/index.php b/index.php index 453c59b..ddb1b9b 100644 --- a/index.php +++ b/index.php @@ -135,6 +135,7 @@ if ($blocklogin === TRUE) {
+