Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Helmo
ISPConfig 3
Commits
0933e169
Commit
0933e169
authored
Jul 25, 2018
by
Florian Schaal
Browse files
Revert "clean-up code"
This reverts commit
ff16ebc2
.
parent
c97bed44
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/web_vhost_domain_edit.php
View file @
0933e169
...
...
@@ -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'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment