Skip to content
Snippets Groups Projects
Commit ae6d914a authored by mcramer's avatar mcramer
Browse files

Fixed bug that added Listen directive to apps vhost even on port 80 and 443

parent 0fed3bec
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ class apps_vhost_plugin { ...@@ -98,7 +98,7 @@ class apps_vhost_plugin {
// comment out the listen directive if port is 80 or 443 // comment out the listen directive if port is 80 or 443
if($web_config['apps_vhost_ip'] == 80 or $web_config['apps_vhost_ip'] == 443) { if($web_config['apps_vhost_port'] == 80 or $web_config['apps_vhost_port'] == 443) {
$content = str_replace('{vhost_port_listen}', '#', $content); $content = str_replace('{vhost_port_listen}', '#', $content);
} else { } else {
$content = str_replace('{vhost_port_listen}', '', $content); $content = str_replace('{vhost_port_listen}', '', $content);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment