From fe1ba5c5382c78853617e7b431bf865c32d89ca6 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sat, 23 Jun 2012 19:27:23 +0545 Subject: error_default_language should contain just the language code (like 'en' 'fr'), not the whole path to the dir. --- config/squid-reverse/squid.inc | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3