aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-01-23 15:48:47 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-01-23 15:48:47 -0500
commitc157b0df0a874142253e3caeabad83c59c8d7d4c (patch)
treef7a33108faf41ae4f8125a56c221a546656b054b /config
parent7fd90ba9abcf5826413f1ad1042125e6d1c43f6d (diff)
downloadpfsense-packages-c157b0df0a874142253e3caeabad83c59c8d7d4c.tar.gz
pfsense-packages-c157b0df0a874142253e3caeabad83c59c8d7d4c.tar.bz2
pfsense-packages-c157b0df0a874142253e3caeabad83c59c8d7d4c.zip
trim() output
Diffstat (limited to 'config')
-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>