Ver Fonte

getting dkim

andre há 6 meses atrás
pai
commit
61f6cca67b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      core/Helper/DnsHelper.php

+ 1 - 1
core/Helper/DnsHelper.php

@@ -20,7 +20,7 @@ class DnsHelper
 
 
     public function __construct()
     public function __construct()
     {
     {
-        $this->params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'username', 'password', 'domainid', 'serverid', 'pid']);
+        $this->params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'serverusername', 'serverpassword', 'domainid', 'serverid', 'pid']);
         $this->server = Server::select('id', 'nameserver1ip', 'nameserver2ip')->findOrFail($this->params['serverid']);
         $this->server = Server::select('id', 'nameserver1ip', 'nameserver2ip')->findOrFail($this->params['serverid']);
 //        $this->nameserver = array(trim($this->server->nameserver1ip), trim($this->server->nameserver2ip));
 //        $this->nameserver = array(trim($this->server->nameserver1ip), trim($this->server->nameserver2ip));
         $this->nameserver = array('127.0.0.1', '127.0.0.2'); //test
         $this->nameserver = array('127.0.0.1', '127.0.0.2'); //test