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

index bb661bb..a584567 100755 (executable)
@@ -1,9 +1,9 @@
 # dhcpd-lib.pl
 # Functions for parsing the DHCPD config file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # get_parent_config()
 # Returns a dummy parent structure for the DHCP config