Skip to content
Snippets Groups Projects
Commit 7e72c848 authored by Thom's avatar Thom :tools:
Browse files

Use correct folder for symlink check (Fixes #4992)

parent d0d54151
No related branches found
No related tags found
No related merge requests found
...@@ -253,7 +253,7 @@ class apps_vhost_plugin { ...@@ -253,7 +253,7 @@ class apps_vhost_plugin {
file_put_contents("$vhost_conf_dir/apps.vhost", $content); file_put_contents("$vhost_conf_dir/apps.vhost", $content);
// enabled / disable apps-vhost // 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') { if(is_link($vhost_symlink) && $web_config['apps_vhost_enabled'] == 'n') {
$app->system->unlink($vhost_symlink); $app->system->unlink($vhost_symlink);
} }
......
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