From 9dc7606c3c04e01658b7e3d9c0bc94cdcae2916b Mon Sep 17 00:00:00 2001 From: Metaregistrar Date: Thu, 8 Oct 2015 20:53:51 +0200 Subject: [PATCH] Fixed a number of dnssec items --- Examples/signdomain.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Examples/signdomain.php b/Examples/signdomain.php index 5fe945e3..4c9f3ea5 100644 --- a/Examples/signdomain.php +++ b/Examples/signdomain.php @@ -5,6 +5,7 @@ try { $domainname = 'dnssectest.nl'; $conn = new Metaregistrar\EPP\sidnEppConnection(); + $conn->enableDnssec(); eppConnect($conn); $add = new Metaregistrar\EPP\eppDomain($domainname); $sec = new Metaregistrar\EPP\eppSecdns(); @@ -14,7 +15,7 @@ if ((($response = $conn->writeandread($domain)) instanceof Metaregistrar\EPP\eppUpdateResponse) && ($response->Success())) { echo "OKAY\n"; } - $this->eppDisconnect($conn); + eppDisconnect($conn); return true; } catch (Metaregistrar\EPP\eppException $e) { echo "ERROR: " . $e->getMessage() . "\n";