Provision working
This commit is contained in:
@@ -186,11 +186,11 @@ class Controller_Task_Host extends Controller_Task {
|
||||
if (isset($f[strtolower(get_class($this->hpo))][$b])) {
|
||||
switch ($f[strtolower(get_class($this->hpo))][$b]) {
|
||||
case 'NODOMAIN':
|
||||
$rec[$b] = preg_replace('/.?'.$so->plugin()->name().'.$/i','',$rec[$b]);
|
||||
$rec[$b] = preg_replace('/\.?'.$so->plugin()->name().'\.$/i','',$rec[$b]);
|
||||
break;
|
||||
|
||||
case 'NOTRAILDOT':
|
||||
$rec[$b] = preg_replace('/.$/','',$rec[$b]);
|
||||
$rec[$b] = preg_replace('/\.$/','',$rec[$b]);
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -252,6 +252,8 @@ class Controller_Task_Host extends Controller_Task {
|
||||
*/
|
||||
public function action_provision() {
|
||||
$result = $this->hpo->provision($this->so);
|
||||
$this->action_setexpire();
|
||||
|
||||
print_r((string)$result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user