Explorar o código

new dns helper class

andre hai 6 meses
pai
achega
c4e3562788
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      core/Http/Response.php

+ 2 - 1
core/Http/Response.php

@@ -169,6 +169,7 @@ class Response extends SymfonyRespose
 
         $addon = ServiceLocator::call(Config::class);
         $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname']);
+        $this->initWhmcsParams();
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),
             'customAssetsURL'          => BuildUrl::getAssetsURL(true),
@@ -196,7 +197,7 @@ class Response extends SymfonyRespose
 	    	__FUNCTION__,
             $params,
     		'Debug',
-	    	$this->params
+	    	$this
     	);
 
         try