projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a19fb5
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 21:34:35 +0000
(21:34 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 1 Mar 2009 21:34:35 +0000
(21:34 +0000)
spam/spam-lib.pl
patch
|
blob
|
history
diff --git
a/spam/spam-lib.pl
b/spam/spam-lib.pl
index
4e56fff
..
695297e
100644
(file)
--- a/
spam/spam-lib.pl
+++ b/
spam/spam-lib.pl
@@
-1,10
+1,10
@@
# spam-lib.pl
# Common functions for parsing and editing the spamassassin config file
-do '../web-lib.pl';
-&init_config();
-do '../ui-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
use Fcntl;
+&init_config();
$warn_procmail = $config{'warn_procmail'};
if ($module_info{'usermin'}) {