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
7e72c848
Commit
7e72c848
authored
Feb 18, 2021
by
Thom
🛠
Browse files
Use correct folder for symlink check (Fixes
#4992
)
parent
d0d54151
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apps_vhost_plugin.inc.php
View file @
7e72c848
...
...
@@ -253,7 +253,7 @@ class apps_vhost_plugin {
file_put_contents
(
"
$vhost_conf_dir
/apps.vhost"
,
$content
);
// enabled / disable apps-vhost
$vhost_symlink
=
$
web_config
[
'
vhost_conf_enabled_dir
'
]
.
'/000-apps.vhost'
;
$vhost_symlink
=
$vhost_conf_enabled_dir
.
'/000-apps.vhost'
;
if
(
is_link
(
$vhost_symlink
)
&&
$web_config
[
'apps_vhost_enabled'
]
==
'n'
)
{
$app
->
system
->
unlink
(
$vhost_symlink
);
}
...
...
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