aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/haproxy/haproxy_global.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php
index 0f6aefc4..f25c3ed3 100755
--- a/config/haproxy/haproxy_global.php
+++ b/config/haproxy/haproxy_global.php
@@ -305,7 +305,7 @@ function enable_change(enable_change) {
<b><i>/var/etc/haproxy.cfg file contents:</b></i>
<?php
if(file_exists("/var/etc/haproxy.cfg")) {
- echo "<pre>" . file_get_contents("/var/etc/haproxy.cfg") . "</pre>";
+ echo "<pre>" . trim(file_get_contents("/var/etc/haproxy.cfg")) . "</pre>";
}
?>
</div>