Explorar o código

new dns helper class

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

+ 2 - 3
core/Http/Response.php

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