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

index fc4b2f3..d98fe42 100644 (file)
@@ -1,9 +1,9 @@
 # xinetd-lib.pl
 # Functions for parsing xinetd config files
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # get_xinetd_config()
 sub get_xinetd_config