diff options
author | doktornotor <notordoktor@gmail.com> | 2015-10-06 06:21:45 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-10-06 06:21:45 +0200 |
commit | 2053fcee561086ec79bb3a45e1ffba964e4b62da (patch) | |
tree | 609208633c95e04aa73f0ac53be0df1ed607b85b /config/squid3 | |
parent | a4d06b9550c7bd35d72c54a5095f97f3b609fd5c (diff) | |
download | pfsense-packages-2053fcee561086ec79bb3a45e1ffba964e4b62da.tar.gz pfsense-packages-2053fcee561086ec79bb3a45e1ffba964e4b62da.tar.bz2 pfsense-packages-2053fcee561086ec79bb3a45e1ffba964e4b62da.zip |
Fix CRLF
Diffstat (limited to 'config/squid3')
-rw-r--r-- | config/squid3/34/squid_antivirus.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid_antivirus.inc b/config/squid3/34/squid_antivirus.inc index 7a82464a..8bf717e5 100644 --- a/config/squid3/34/squid_antivirus.inc +++ b/config/squid3/34/squid_antivirus.inc @@ -605,7 +605,7 @@ function squid_antivirus_put_raw_config($rawfiles) { /* Helper function for squid_antivirus_put_raw_config() */ function squid_antivirus_write_conffile($dir, $file, $text) { if ($file && $text) { - file_put_contents(SQUID_LOCALBASE . "/etc" . "{$dir}" . "/{$file}", base64_decode(preg_replace('/\r\n/', '\n', $text), LOCK_EX)); + file_put_contents(SQUID_LOCALBASE . "/etc" . "{$dir}" . "/{$file}", preg_replace("/\r\n/", "\n", base64_decode($text)), LOCK_EX); log_error("Squid - Saved {$file} configuration file."); } } |