Use new module
authorJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:57 +0000 (21:31 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:57 +0000 (21:31 +0000)
syslog-ng/syslog-ng-lib.pl

index 1f96887..b10182c 100644 (file)
@@ -1,8 +1,8 @@
 # Functions for parsing the syslog-ng config file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 @log_flags = ( "final", "fallback", "catchall" );