Commit ef5c6457 authored by Florian Schaal's avatar Florian Schaal

Revert "Revert "clean-up code""

This reverts commit 0933e169.
parent 0933e169
......@@ -239,7 +239,6 @@ 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';
......@@ -953,7 +952,6 @@ 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