Selaa lähdekoodia

new dns helper class

andre 7 kuukautta sitten
vanhempi
commit
5598a0d0d6
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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(),