Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 22:36:39 +0000 (22:36 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 22:36:39 +0000 (22:36 +0000)
filter/filter-lib.pl

index 3f885bc..d8adace 100644 (file)
@@ -1,9 +1,9 @@
 # Functions for creating simple mail filtering rules
 # XXX use same virtualmin spam detection trick for spam module
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 do 'aliases-lib.pl';
 do 'autoreply-file-lib.pl';