From 0a2cf79b6af12b974ffacafd1843fd66869fec78 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Thu, 18 Sep 2008 22:07:37 +0000 Subject: only for beauty ;-) --- packages/squid/squid.inc | 2 +- packages/squid3/squid.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 3a4369ba..2f7f652a 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -1227,7 +1227,7 @@ function squid_generate_rules($type) { } if (!empty($squid_conf['defined_ip_proxy_off'])) { - $defined_ip_proxy_off = explode(";", $config['installedpackages']['squid']['config'][0]['defined_ip_proxy_off']); + $defined_ip_proxy_off = explode(";", $squid_conf['defined_ip_proxy_off']); $exempt_ip = ""; foreach ($defined_ip_proxy_off as $ip_proxy_off) { if(!empty($ip_proxy_off)) { diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc index 1f3b5f7e..e4cb082c 100644 --- a/packages/squid3/squid.inc +++ b/packages/squid3/squid.inc @@ -1228,7 +1228,7 @@ function squid_generate_rules($type) { } if (!empty($squid_conf['defined_ip_proxy_off'])) { - $defined_ip_proxy_off = explode(";", $config['installedpackages']['squid']['config'][0]['defined_ip_proxy_off']); + $defined_ip_proxy_off = explode(";", $squid_conf['defined_ip_proxy_off']); $exempt_ip = ""; foreach ($defined_ip_proxy_off as $ip_proxy_off) { if(!empty($ip_proxy_off)) { -- cgit v1.2.3