use absolute path when initializing WebGUI::Config in spectre

This commit is contained in:
Graham Knop 2008-06-13 01:44:53 +00:00
parent 5861aafabd
commit cba8fa6166

View file

@ -48,7 +48,7 @@ pod2usage( verbose => 2 ) if $help;
pod2usage() unless ($ping||$shutdown||$daemon||$run||$test||$status);
require File::Spec;
my $config = WebGUI::Config->new($webguiRoot,"spectre.conf",1);
my $config = WebGUI::Config->new(File::Spec->rel2abs($webguiRoot),"spectre.conf",1);
unless (defined $config) {
print <<STOP;