Commit 7e72c848 authored by Thom's avatar Thom 🛠
Browse files

Use correct folder for symlink check (Fixes #4992)

parent d0d54151
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment