aboutsummaryrefslogtreecommitdiffstats
path: root/config/clamsmtp.inc
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/clamsmtp.inc
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/clamsmtp.inc')
-rw-r--r--config/clamsmtp.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/clamsmtp.inc b/config/clamsmtp.inc
index 08d9e23b..7b7cf121 100644
--- a/config/clamsmtp.inc
+++ b/config/clamsmtp.inc
@@ -2,7 +2,9 @@
require_once('globals.inc');
require_once('config.inc');
require_once('service-utils.inc');
-require_once('filter.inc');
+
+if(!function_exists("filter_configure"))
+ requre_once("filter.inc");
function clamsmtp_install_command() {
global $g;
@@ -51,4 +53,5 @@ EOD;
restart_service('clamsmtp');
filter_configure();
}
-?>
+
+?> \ No newline at end of file