|
|
@@ -169,8 +169,6 @@ class Response extends SymfonyRespose
|
|
|
|
|
|
$addon = ServiceLocator::call(Config::class);
|
|
|
|
|
|
- $params = WhmcsParams::getWhmcsParams();
|
|
|
-
|
|
|
$vars = [
|
|
|
'assetsURL' => BuildUrl::getAssetsURL(),
|
|
|
'customAssetsURL' => BuildUrl::getAssetsURL(true),
|
|
|
@@ -190,13 +188,13 @@ class Response extends SymfonyRespose
|
|
|
'tagImageModule' => $addon->getConfigValue('moduleIcon'),
|
|
|
'isDebug' => (bool)((int)$addon->getConfigValue('debug', "0")),
|
|
|
'errorPageDetails' => $this->getErrorPageData($responseResolver),
|
|
|
- 'dnsvars' => DnsHelper::KerioEmailCheckDNS($params)
|
|
|
+ 'dnsvars' => DnsHelper::KerioEmailCheckDNS($this->getWhmcsParams())
|
|
|
];
|
|
|
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $params,
|
|
|
+ $this->getWhmcsParams(),
|
|
|
'Debug',
|
|
|
$vars
|
|
|
);
|