diff options
Diffstat (limited to 'config/squid')
-rw-r--r-- | config/squid/squid.inc | 4 | ||||
-rw-r--r-- | config/squid/squid_ng.inc | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 4200f02e..2d4da84c 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -34,9 +34,11 @@ require_once('config.inc'); require_once('util.inc'); require_once('pfsense-utils.inc'); require_once('pkg-utils.inc'); -require_once('filter.inc'); require_once('service-utils.inc'); +if(!function_exists("filter_configure")) + requre_once("filter.inc"); + define('SQUID_CONFBASE', '/usr/local/etc/squid'); define('SQUID_ACLDIR', '/var/squid/acl'); define('SQUID_PASSWD', '/var/etc/squid.passwd'); diff --git a/config/squid/squid_ng.inc b/config/squid/squid_ng.inc index dc18e349..f54448ae 100644 --- a/config/squid/squid_ng.inc +++ b/config/squid/squid_ng.inc @@ -31,6 +31,9 @@ */ +if(!function_exists("filter_configure")) + requre_once("filter.inc"); + function global_write_squid_config() { global $config; |