Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas
ISPConfig 3
Commits
0933e169
Commit
0933e169
authored
Jul 25, 2018
by
Florian Schaal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "clean-up code"
This reverts commit
ff16ebc2
.
parent
c97bed44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
interface/web/sites/web_vhost_domain_edit.php
interface/web/sites/web_vhost_domain_edit.php
+2
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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