Bläddra i källkod

new dns helper class

andre 6 månader sedan
förälder
incheckning
f5c566d456
1 ändrade filer med 5 tillägg och 2 borttagningar
  1. 5 2
      core/Http/Response.php

+ 5 - 2
core/Http/Response.php

@@ -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