Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:01:04 +0000 (21:01 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:01:04 +0000 (21:01 +0000)
procmail/procmail-lib.pl

index 1601b6a..91d6a4f 100644 (file)
@@ -1,9 +1,9 @@
 # procmail-lib.pl
 # Functions for parsing the .procmailrc file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %minfo = &get_module_info($module_name);
 if ($minfo{'usermin'}) {
        &switch_to_remote_user();