Sfoglia il codice sorgente

new dns helper class

andre 6 mesi fa
parent
commit
c4e3562788
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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);
         $addon = ServiceLocator::call(Config::class);
         $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname']);
         $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname']);
+        $this->initWhmcsParams();
         $vars = [
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),
             'assetsURL'                => BuildUrl::getAssetsURL(),
             'customAssetsURL'          => BuildUrl::getAssetsURL(true),
             'customAssetsURL'          => BuildUrl::getAssetsURL(true),
@@ -196,7 +197,7 @@ class Response extends SymfonyRespose
 	    	__FUNCTION__,
 	    	__FUNCTION__,
             $params,
             $params,
     		'Debug',
     		'Debug',
-	    	$this->params
+	    	$this
     	);
     	);
 
 
         try
         try