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";