From c53d260613ffca352dd669f68ac8e4e53755034a Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 3 Mar 2009 21:30:54 +0000 Subject: [PATCH] Use new module --- ipsec/ipsec-lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipsec/ipsec-lib.pl b/ipsec/ipsec-lib.pl index 2d7870fd4..c42e8df08 100644 --- a/ipsec/ipsec-lib.pl +++ b/ipsec/ipsec-lib.pl @@ -4,9 +4,9 @@ # XXX option to download connection as .conf file, and upload an existing # .conf file for addition -do '../web-lib.pl'; +BEGIN { push(@INC, ".."); }; +use WebminCore; &init_config(); -do '../ui-lib.pl'; # get_config([file]) # Returns an array of configured connections