diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-09 20:20:39 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-09 20:20:39 -0400 |
commit | 1b8bf91446a8b2f090787da0bef506ea31008063 (patch) | |
tree | 13fe3ac62575f36ab37412b565e4ededbeda7902 /config/squid | |
parent | cdcabd4a9b14e9a8057fc42080656ec225b90a9c (diff) | |
download | pfsense-packages-1b8bf91446a8b2f090787da0bef506ea31008063.tar.gz pfsense-packages-1b8bf91446a8b2f090787da0bef506ea31008063.tar.bz2 pfsense-packages-1b8bf91446a8b2f090787da0bef506ea31008063.zip |
Unbreak packages that use filter_configure_* on 2.0
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; |