소스 검색

new dns helper class

andre 7 달 전
부모
커밋
5598a0d0d6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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(),