aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/squid/squid.inc4
-rw-r--r--packages/squid3/squid.inc2
2 files changed, 5 insertions, 1 deletions
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