Commit 2e0f2d25 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '4992-vapps-vhost-can-not-be-disabled' into 'develop'

Resolve "VApps VHost can not be disabled"

Closes #4992

See merge request ispconfig/ispconfig3!1420
parents f5bd972f 7e72c848
......@@ -251,7 +251,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