Browse Source

new dns helper class

andre 6 months ago
parent
commit
74bd8b2384
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/Http/Response.php

+ 3 - 3
core/Http/Response.php

@@ -170,8 +170,8 @@ class Response extends SymfonyRespose
 
 
         $addon = ServiceLocator::call(Config::class);
         $addon = ServiceLocator::call(Config::class);
         $productManager = new ProductManager();
         $productManager = new ProductManager();
-        $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'packageid']);
-        $productManager->loadByHostingId($params['packageid']);
+        $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'serverdata']);
+    //    $productManager->loadByHostingId($params['packageid']);
 
 
         $vars = [
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),
             'assetsURL'                => BuildUrl::getAssetsURL(),
@@ -200,7 +200,7 @@ class Response extends SymfonyRespose
 	    	__FUNCTION__,
 	    	__FUNCTION__,
             $params,
             $params,
     		'Debug',
     		'Debug',
-	    	$productManager
+	    	'test'
     	);
     	);
 
 
         try
         try