diff options
author | Martin Fuchs <mfuchs@pfsense.org> | 2008-08-20 19:22:00 +0000 |
---|---|---|
committer | Martin Fuchs <mfuchs@pfsense.org> | 2008-08-20 19:22:00 +0000 |
commit | 6786d4fd36c92cfcb9adba462e14bfd31e58594b (patch) | |
tree | 575ec16745e203191f10523da4b9b59850df508a /packages/squid3/squid.inc | |
parent | 68cf9d6853114abf25656dada11e066389ad0055 (diff) | |
download | pfsense-packages-6786d4fd36c92cfcb9adba462e14bfd31e58594b.tar.gz pfsense-packages-6786d4fd36c92cfcb9adba462e14bfd31e58594b.tar.bz2 pfsense-packages-6786d4fd36c92cfcb9adba462e14bfd31e58594b.zip |
speed up cfg.generation after the first run and comment
Diffstat (limited to 'packages/squid3/squid.inc')
-rw-r--r-- | packages/squid3/squid.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc index 763ed082..c9932f98 100644 --- a/packages/squid3/squid.inc +++ b/packages/squid3/squid.inc @@ -561,8 +561,8 @@ EOD; if ($settings['disable_xforward']) $conf .= "forwarded_for off\n"; if ($settings['disable_via']) $conf .= "via off\n"; if ($settings['disable_squidversion']) $conf .= "httpd_suppress_version_string on\n"; - if (empty($settings['uri_whitespace'])) $conf .= "uri_whitespace strip\n"; - else $conf .= "uri_whitespace {$settings['uri_whitespace']}\n"; + if (!empty($settings['uri_whitespace'])) $conf .= "uri_whitespace {$settings['uri_whitespace']}\n"; + else $conf .= "uri_whitespace strip\n"; //only used for first run if(!empty($settings['dns_nameservers'])) { $altdns = explode(";", ($settings['dns_nameservers'])); |