--- trunk/lib/BackupPC/SearchLib.pm 2005/09/16 14:11:00 122 +++ trunk/lib/BackupPC/SearchLib.pm 2005/09/19 11:07:31 123 @@ -15,11 +15,7 @@ my $dsn = $Conf{SearchDSN}; my $db_user = $Conf{SearchUser} || ''; -my $index_path = $Conf{HyperEstraierIndex}; -if ($index_path) { - $index_path = $TopDir . '/' . $index_path; - $index_path =~ s#//#/#g; -} +my $hest_index_path = $Conf{HyperEstraierIndex}; my $dbh; @@ -198,11 +194,11 @@ my $offset = $param->{'offset'} || 0; $offset *= $on_page; - die "no index_path?" unless ($index_path); + die "no index_path?" unless ($hest_index_path); use HyperEstraier; - my ($index_path, $index_node_url) = getHyperEstraier_url($index_path); + my ($index_path, $index_node_url) = getHyperEstraier_url($hest_index_path); # open the database my $db;