Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 23:54:23 +0000 (23:54 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 23:54:23 +0000 (23:54 +0000)
dovecot/dovecot-lib.pl

index ca8e750..27de8ca 100644 (file)
@@ -1,8 +1,8 @@
 # Functions for parsing the dovecot config file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 @supported_protocols = ( "imap", "pop3", "imaps", "pop3s" );
 @supported_auths = ( "anonymous", "plain", "digest-md5", "cram-md5", "apop" );