added a test for the config api

and a fix to the config api
This commit is contained in:
JT Smith 2006-01-16 00:21:29 +00:00
parent 197dacadec
commit 75aed8bbc5
2 changed files with 39 additions and 1 deletions

View file

@ -115,7 +115,7 @@ The path to the WebGUI installation.
sub loadAllConfigs {
my $class = shift;
my $webguiPath = shift;
my $configs = readAllConfigs($webguiPath);
my $configs = $class->readAllConfigs($webguiPath);
foreach my $filename (keys %{$configs}) {
unless ($filename =~ /^demo\d/) {
print "\tLoading ".$filename."\n";