diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/squid/squid.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 5a0946bb..4cfb9af8 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -926,6 +926,16 @@ EOD; function squid_resync_auth() { global $config, $valid_acls; + if (!is_array($config['installedpackages']['squidauth'])) { + $config['installedpackages']['squidauth']['config'][0] = array(); + } + if (!is_array($config['installedpackages']['squidnac'])) { + $config['installedpackages']['squidnac']['config'][0] = array(); + } + if (!is_array($config['installedpackages']['squid'])) { + $config['installedpackages']['squid']['config'][0] = array(); + } + $settings = $config['installedpackages']['squidauth']['config'][0]; $settingsnac = $config['installedpackages']['squidnac']['config'][0]; $settingsconfig = $config['installedpackages']['squid']['config'][0]; |