From c3e2d46fea789ba9dccbf782f8fff636f99109b6 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 20 Aug 2008 20:40:46 +0000 Subject: added icondir in squid-cfg --- packages/squid/squid.inc | 4 +++- packages/squid3/squid.inc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 5e2f08e7..1abcafc8 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -523,7 +523,8 @@ function squid_resync_general() { $pidfile = "{$g['varrun_path']}/squid.pid"; $language = ($settings['error_language'] ? $settings['error_language'] : 'English'); $errordir = SQUID_CONFBASE . '/errors/' . $language; - $hostname = ($settings['visible_hostname'] ? $settings['visible_hostname'] : 'localhost'); + $icondir = SQUID_CONFBASE . '/icons/'; + $hostname = ($settings['visible_hostname'] ? $settings['visible_hostname'] : 'localhost'); $email = ($settings['admin_email'] ? $settings['admin_email'] : 'admin@localhost'); $logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/log'); @@ -538,6 +539,7 @@ pid_filename $pidfile cache_effective_user proxy cache_effective_group proxy error_directory $errordir +icon_directory $icondir visible_hostname $hostname cache_mgr $email access_log $logdir_access diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc index c383c3ce..45b25c74 100644 --- a/packages/squid3/squid.inc +++ b/packages/squid3/squid.inc @@ -523,6 +523,7 @@ function squid_resync_general() { $pidfile = "{$g['varrun_path']}/squid.pid"; $language = ($settings['error_language'] ? $settings['error_language'] : 'English'); $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'); @@ -538,6 +539,7 @@ pid_filename $pidfile cache_effective_user proxy cache_effective_group proxy error_directory $errordir +icon_directory $icondir visible_hostname $hostname cache_mgr $email access_log $logdir_access -- cgit v1.2.3