added indexall option to manual indexer, and started a rules engine for the search mechanism

This commit is contained in:
JT Smith 2006-01-22 15:35:22 +00:00
parent e33b3bb9b9
commit 29ec0c1904
3 changed files with 74 additions and 50 deletions

View file

@ -148,8 +148,8 @@ sub new {
if (exists $config{$filename}) {
return $config{$filename};
} else {
my $config = Parse::PlainConfig->new('DELIM' => '=', 'FILE' => $webguiPath.'/etc/'.$filename, 'PURGE' => 1);
my $self = {_webguiRoot=>$webguiPath, _configFile=>$filename, _config=>$config};
my $conf = Parse::PlainConfig->new('DELIM' => '=', 'FILE' => $webguiPath.'/etc/'.$filename, 'PURGE' => 1);
my $self = {_webguiRoot=>$webguiPath, _configFile=>$filename, _config=>$conf};
bless $self, $class;
$config{$filename} = $self;
return $self;