Skip to content
Snippets Groups Projects
Commit 0933e169 authored by Florian Schaal's avatar Florian Schaal
Browse files

Revert "clean-up code"

This reverts commit ff16ebc2.
parent c97bed44
No related branches found
No related tags found
No related merge requests found
......@@ -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') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment