projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fba29
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:57:22 +0000
(07:57 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 07:57:22 +0000
(07:57 +0000)
logrotate/logrotate-lib.pl
patch
|
blob
|
history
diff --git
a/logrotate/logrotate-lib.pl
b/logrotate/logrotate-lib.pl
index
b22db2c
..
38cfdc7
100644
(file)
--- a/
logrotate/logrotate-lib.pl
+++ b/
logrotate/logrotate-lib.pl
@@
-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>);