Commit 0933e169 authored by Florian Schaal's avatar Florian Schaal

Revert "clean-up code"

This reverts commit ff16ebc2.
parent c97bed44
......@@ -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') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment