From cee0fb442a91e223aaf1d4db5d6b9ae72d65bc56 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Fri, 31 May 2002 05:54:21 +0000 Subject: [PATCH] Made modifying this file just a bit easier --- www/index.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/www/index.pl b/www/index.pl index 7693b2dae..554e530cc 100755 --- a/www/index.pl +++ b/www/index.pl @@ -10,11 +10,12 @@ # http://www.plainblack.com info@plainblack.com #------------------------------------------------------------------- -my $webguiRoot = ".."; -my $configFile = "WebGUI.conf"; +our ($webguiRoot, $configFile); BEGIN { - unshift (@INC, "../lib"); + $configFile = "WebGUI.conf"; + $webguiRoot = "/data/WebGUI"; + unshift (@INC, $webguiRoot."/lib"); } #-----------------DO NOT MODIFY BELOW THIS LINE--------------------