diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-01-23 15:48:47 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-01-23 15:48:47 -0500 |
commit | c157b0df0a874142253e3caeabad83c59c8d7d4c (patch) | |
tree | f7a33108faf41ae4f8125a56c221a546656b054b | |
parent | 7fd90ba9abcf5826413f1ad1042125e6d1c43f6d (diff) | |
download | pfsense-packages-c157b0df0a874142253e3caeabad83c59c8d7d4c.tar.gz pfsense-packages-c157b0df0a874142253e3caeabad83c59c8d7d4c.tar.bz2 pfsense-packages-c157b0df0a874142253e3caeabad83c59c8d7d4c.zip |
trim() output
-rwxr-xr-x | config/haproxy/haproxy_global.php | 2 |
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> |