From a4b1925aae59cd8b5dbb0293fdbe757e0b3ceca9 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 3 Mar 2009 21:30:14 +0000 Subject: [PATCH] Use new module --- dhcpd/dhcpd-lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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