Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 20:45:58 +0000 (20:45 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 20:45:58 +0000 (20:45 +0000)
postfix/postfix-lib.pl

index 75c3a12..7cdebf2 100644 (file)
@@ -25,10 +25,9 @@ $POSTFIX_MODULE_VERSION = 5;
 #
 # -------------------------------------------------------------------------
 
-
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 $access{'postfinger'} = 0 if (&is_readonly_mode());
 do 'aliases-lib.pl';