From 6d1990bc35b959f1dce9adbb54e2c3da2881208e Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 3 Mar 2009 21:30:09 +0000 Subject: [PATCH] Use new module --- custom/custom-lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/custom-lib.pl b/custom/custom-lib.pl index ca57830bc..9c6f57e85 100644 --- a/custom/custom-lib.pl +++ b/custom/custom-lib.pl @@ -1,10 +1,10 @@ # custom-lib.pl # Functions for storing custom commands -do '../web-lib.pl'; +BEGIN { push(@INC, ".."); }; +use WebminCore; &init_config(); %access = &get_module_acl(); -do '../ui-lib.pl'; # list_commands() # Returns a list of all custom commands