|
|
@@ -168,6 +168,7 @@ class Response extends SymfonyRespose
|
|
|
$menu = $mainMenu->getMenu();
|
|
|
|
|
|
$addon = ServiceLocator::call(Config::class);
|
|
|
+ $params['domain'] = $this->getWhmcsParamByKey('domain');
|
|
|
|
|
|
$vars = [
|
|
|
'assetsURL' => BuildUrl::getAssetsURL(),
|
|
|
@@ -188,13 +189,13 @@ class Response extends SymfonyRespose
|
|
|
'tagImageModule' => $addon->getConfigValue('moduleIcon'),
|
|
|
'isDebug' => (bool)((int)$addon->getConfigValue('debug', "0")),
|
|
|
'errorPageDetails' => $this->getErrorPageData($responseResolver),
|
|
|
- 'dnsvars' => DnsHelper::KerioEmailCheckDNS($this->getWhmcsParamByKey('domain'))
|
|
|
+ 'dnsvars' => DnsHelper::KerioEmailCheckDNS($params)
|
|
|
];
|
|
|
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $this->getWhmcsParamByKey('domain'),
|
|
|
+ $params,
|
|
|
'Debug',
|
|
|
$vars
|
|
|
);
|