diff --git a/dhcpd/dhcpd-lib.pl b/dhcpd/dhcpd-lib.pl index bb661bb25..a5845673d 100755 --- a/dhcpd/dhcpd-lib.pl +++ b/dhcpd/dhcpd-lib.pl @@ -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