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

index b22db2c..38cfdc7 100644 (file)
@@ -1,10 +1,9 @@
 # logrotate-lib.pl
 # Common functions for parsing the logrotate configuration file
-# XXX help
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 if (open(VERSION, "$module_config_directory/version")) {
        chop($logrotate_version = <VERSION>);