Skip to content

Commit 7e72c84

Browse files
author
Thom
committed
Use correct folder for symlink check (Fixes #4992)
1 parent d0d5415 commit 7e72c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apps_vhost_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function update($event_name, $data) {
253253
file_put_contents("$vhost_conf_dir/apps.vhost", $content);
254254

255255
// enabled / disable apps-vhost
256-
$vhost_symlink = $web_config['vhost_conf_enabled_dir'].'/000-apps.vhost';
256+
$vhost_symlink = $vhost_conf_enabled_dir . '/000-apps.vhost';
257257
if(is_link($vhost_symlink) && $web_config['apps_vhost_enabled'] == 'n') {
258258
$app->system->unlink($vhost_symlink);
259259
}

0 commit comments

Comments
 (0)