Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Helmo
ISPConfig 3
Commits
08bd30a2
Commit
08bd30a2
authored
Feb 20, 2021
by
Thom
🛠
Browse files
Replace incorrect variable (#6017)
parent
b74093a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
08bd30a2
...
...
@@ -2637,7 +2637,7 @@ class installer_base {
$content
=
rfsel
(
$conf
[
'ispconfig_install_dir'
]
.
'/server/conf-custom/install/nginx_apps.vhost.master'
,
'tpl/nginx_apps.vhost.master'
);
// Enable SSL if a cert is in place.
if
(
is_file
(
$conf
[
'ispconfig_install_dir'
]
.
'/interface/ssl/ispserver.crt'
)
&&
is_file
(
$install_dir
.
'/interface/ssl/ispserver.key'
))
{
if
(
is_file
(
$conf
[
'ispconfig_install_dir'
]
.
'/interface/ssl/ispserver.crt'
)
&&
is_file
(
$
conf
[
'ispconfig_
install_dir
'
]
.
'/interface/ssl/ispserver.key'
))
{
$content
=
str_replace
(
'{ssl_on}'
,
'ssl'
,
$content
);
$content
=
str_replace
(
'{ssl_comment}'
,
''
,
$content
);
}
else
{
...
...
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