|
|
@@ -10,6 +10,7 @@ use ThurData\Servers\KerioEmail\Core\Http\View\MainMenu;
|
|
|
use ThurData\Servers\KerioEmail\Core\Helper\BuildUrl;
|
|
|
use ThurData\Servers\KerioEmail\Core\App\Controllers\Instances\Addon\Config;
|
|
|
use ThurData\Servers\KerioEmail\Core\Helper\WhmcsVersionComparator;
|
|
|
+use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
|
|
|
use ThurData\Servers\KerioEmail\Core\Helper\DnsHelper;
|
|
|
|
|
|
/**
|
|
|
@@ -168,6 +169,8 @@ class Response extends SymfonyRespose
|
|
|
$menu = $mainMenu->getMenu();
|
|
|
|
|
|
$addon = ServiceLocator::call(Config::class);
|
|
|
+ $productManager = new ProductManager();
|
|
|
+
|
|
|
$params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'templatevars']);
|
|
|
|
|
|
$vars = [
|
|
|
@@ -195,9 +198,9 @@ class Response extends SymfonyRespose
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $params['templatevars']['clientdetails'],
|
|
|
+ $params['templatevars'],
|
|
|
'Debug',
|
|
|
- $this->whmcsParams
|
|
|
+ $productManager
|
|
|
);
|
|
|
|
|
|
try
|