Explorar o código

new dns helper class

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

+ 1 - 2
core/Http/Response.php

@@ -168,8 +168,7 @@ class Response extends SymfonyRespose
         $menu = $mainMenu->getMenu();
 
         $addon = ServiceLocator::call(Config::class);
-        $params['domain'] = $this->getWhmcsParamByKey('domain');
-        $params['userid'] = $this->getWhmcsParamByKey('userid');
+        $params = $this->getWhmcsPagetWhmcsParamsByKeysramByKeys(['domain', 'userid', 'serverhostname']);
 
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),