Commit 126aa5e1 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6106-site-enable-symlink-always-created' into 'develop'

Resolve "site-enable symlink always created"

Closes #6106

See merge request ispconfig/ispconfig3!1447
parents 2592f278 076722f4
......@@ -2778,7 +2778,7 @@ class installer_base {
if(@is_link($vhost_conf_enabled_dir.'/' . $use_symlink)) {
unlink($vhost_conf_enabled_dir.'/' . $use_symlink);
}
if(!@is_link($vhost_conf_enabled_dir.'' . $use_symlink)) {
if(!@is_link($vhost_conf_enabled_dir.'/' . $use_symlink)) {
symlink($vhost_conf_dir.'/' . $use_name, $vhost_conf_enabled_dir.'/' . $use_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