From 0933e16927f36ed30b64716228e6589c0d39beaf Mon Sep 17 00:00:00 2001
From: florian030 <florian@schaal-24.de>
Date: Wed, 25 Jul 2018 17:00:51 +0200
Subject: [PATCH] Revert "clean-up code"

This reverts commit ff16ebc265c0c59e6966f5323e216dd257543d92.
---
 interface/web/sites/web_vhost_domain_edit.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/interface/web/sites/web_vhost_domain_edit.php b/interface/web/sites/web_vhost_domain_edit.php
index 029df1cbef..4f2206c679 100644
--- a/interface/web/sites/web_vhost_domain_edit.php
+++ b/interface/web/sites/web_vhost_domain_edit.php
@@ -239,6 +239,7 @@ class page_action extends tform_actions {
 
 			//PHP Version Selection (FastCGI)
 			$server_type = 'apache';
+//print_r($web_config[$server_id]);exit;
 			if(!empty($web_config[$server_id]['server_type'])) $server_type = $web_config[$server_id]['server_type'];
 			if($server_type == 'nginx' && $this->dataRecord['php'] == 'fast-cgi') $this->dataRecord['php'] = 'php-fpm';
 
@@ -952,6 +953,7 @@ class page_action extends tform_actions {
 
 	function onSubmit() {
 		global $app, $conf;
+//print_r($this->dataRecord);exit;
 		// Set a few fixed values
 		$this->dataRecord["vhost_type"] = 'name';
 		if($this->_vhostdomain_type == 'domain') {
-- 
GitLab