Răsfoiți Sursa

new dns helper class

andre 6 luni în urmă
părinte
comite
c1262b47d8
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      core/Http/Response.php

+ 2 - 2
core/Http/Response.php

@@ -188,13 +188,13 @@ class Response extends SymfonyRespose
             'tagImageModule'           => $addon->getConfigValue('moduleIcon'),
             'tagImageModule'           => $addon->getConfigValue('moduleIcon'),
             'isDebug'                  => (bool)((int)$addon->getConfigValue('debug', "0")),
             'isDebug'                  => (bool)((int)$addon->getConfigValue('debug', "0")),
             'errorPageDetails'         => $this->getErrorPageData($responseResolver),
             'errorPageDetails'         => $this->getErrorPageData($responseResolver),
-            'dnsvars'                  => DnsHelper::KerioEmailCheckDNS($this->getWhmcsParams())
+            'dnsvars'                  => DnsHelper::KerioEmailCheckDNS($this->getWhmcsParamByKey('domain'))
         ];
         ];
 
 
         logModuleCall(
         logModuleCall(
     		'kerioEmail',
     		'kerioEmail',
 	    	__FUNCTION__,
 	    	__FUNCTION__,
-		    $this->getWhmcsParams(),
+            $this->getWhmcsParamByKey('domain'),
     		'Debug',
     		'Debug',
 	    	$vars
 	    	$vars
     	);
     	);