Some long overdue updates
This commit is contained in:
parent
8623c23763
commit
002d0cfa54
1 changed files with 27 additions and 0 deletions
27
epp.php
27
epp.php
|
@ -11,6 +11,8 @@
|
|||
class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
||||
{
|
||||
public $config = array();
|
||||
public $socket;
|
||||
public $isLogined;
|
||||
|
||||
public function __construct($options)
|
||||
{
|
||||
|
@ -29,6 +31,15 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
|||
if(isset($options['registrarprefix'])) {
|
||||
$this->config['registrarprefix'] = $options['registrarprefix'];
|
||||
}
|
||||
if(isset($options['ssl_cert'])) {
|
||||
$this->config['ssl_cert'] = $options['ssl_cert'];
|
||||
}
|
||||
if(isset($options['ssl_key'])) {
|
||||
$this->config['ssl_key'] = $options['ssl_key'];
|
||||
}
|
||||
if(isset($options['ssl_ca'])) {
|
||||
$this->config['ssl_ca'] = $options['ssl_ca'];
|
||||
}
|
||||
}
|
||||
|
||||
public function getTlds()
|
||||
|
@ -49,6 +60,7 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
|||
'password' => array('password', array(
|
||||
'label' => 'EPP Server Password',
|
||||
'required' => true,
|
||||
'renderPassword' => true,
|
||||
),
|
||||
),
|
||||
'host' => array('text', array(
|
||||
|
@ -66,6 +78,21 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
|||
'required' => true,
|
||||
),
|
||||
),
|
||||
'ssl_cert' => array('textarea', array(
|
||||
'label' => 'SSL Certificate',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
'ssl_key' => array('textarea', array(
|
||||
'label' => 'SSL Key',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
'ssl_ca' => array('textarea', array(
|
||||
'label' => 'SSL CA',
|
||||
'required' => false,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue