Skip to content

Commit ae6d914

Browse files
author
mcramer
committed
Fixed bug that added Listen directive to apps vhost even on port 80 and 443
1 parent 0fed3be commit ae6d914

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
@@ -98,7 +98,7 @@ function update($event_name,$data) {
9898

9999

100100
// comment out the listen directive if port is 80 or 443
101-
if($web_config['apps_vhost_ip'] == 80 or $web_config['apps_vhost_ip'] == 443) {
101+
if($web_config['apps_vhost_port'] == 80 or $web_config['apps_vhost_port'] == 443) {
102102
$content = str_replace('{vhost_port_listen}', '#', $content);
103103
} else {
104104
$content = str_replace('{vhost_port_listen}', '', $content);

0 commit comments

Comments
 (0)