aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-06-23 19:27:23 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-06-23 19:27:23 +0545
commitfe1ba5c5382c78853617e7b431bf865c32d89ca6 (patch)
treeea142c1a6eb297c207598d39aa1d9a38fdddb42c
parent41b1c16482bdeddf94e7b5c4c48966ed8ecb893d (diff)
downloadpfsense-packages-fe1ba5c5382c78853617e7b431bf865c32d89ca6.tar.gz
pfsense-packages-fe1ba5c5382c78853617e7b431bf865c32d89ca6.tar.bz2
pfsense-packages-fe1ba5c5382c78853617e7b431bf865c32d89ca6.zip
error_default_language should contain just the language code (like 'en' 'fr'), not the whole path to the dir.
-rw-r--r--config/squid-reverse/squid.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index 9bedac86..c1a29ae6 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -747,7 +747,6 @@ function squid_resync_general() {
$pidfile = "{$g['varrun_path']}/squid.pid";
$language = ($settings['error_language'] ? $settings['error_language'] : 'en');
- $errordir = SQUID_CONFBASE . '/errors/' . $language;
$icondir = SQUID_CONFBASE . '/icons';
$hostname = ($settings['visible_hostname'] ? $settings['visible_hostname'] : 'localhost');
$email = ($settings['admin_email'] ? $settings['admin_email'] : 'admin@localhost');
@@ -763,7 +762,7 @@ icp_port $icp_port
pid_filename $pidfile
cache_effective_user proxy
cache_effective_group proxy
-error_default_language $errordir
+error_default_language $language
icon_directory $icondir
visible_hostname $hostname
cache_mgr $email