aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-09 20:20:39 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-09 20:20:39 -0400
commit1b8bf91446a8b2f090787da0bef506ea31008063 (patch)
tree13fe3ac62575f36ab37412b565e4ededbeda7902 /config/squid3
parentcdcabd4a9b14e9a8057fc42080656ec225b90a9c (diff)
downloadpfsense-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/squid3')
-rw-r--r--config/squid3/squid.inc4
-rw-r--r--config/squid3/squid_ng.inc3
2 files changed, 6 insertions, 1 deletions
diff --git a/config/squid3/squid.inc b/config/squid3/squid.inc
index 3aa3c95c..efd3388b 100644
--- a/config/squid3/squid.inc
+++ b/config/squid3/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/squid3/squid_ng.inc b/config/squid3/squid_ng.inc
index dc18e349..f54448ae 100644
--- a/config/squid3/squid_ng.inc
+++ b/config/squid3/squid_ng.inc
@@ -31,6 +31,9 @@
*/
+if(!function_exists("filter_configure"))
+ requre_once("filter.inc");
+
function global_write_squid_config()
{
global $config;