Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:38:56 +0000 (21:38 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:38:56 +0000 (21:38 +0000)
syslog/syslog-lib.pl

index bb4865f..4a7bb83 100644 (file)
@@ -1,9 +1,9 @@
 # syslog-lib.pl
 # Functions for the syslog module
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 
 # get_config()