Changeset 22


Ignore:
Timestamp:
Apr 20, 2003, 4:58:21 PM (19 years ago)
Author:
kake
Message:

map_name for SII is now 'indexing_directory' in config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wiki.cgi

    r21 r22  
    4848# Make search.
    4949my $indexdb = Search::InvertedIndex::DB::DB_File_SplitHash->new(
    50     -map_name  => "/home/kake/public_html/wiki-index.db",
     50    -map_name  => $config->{_}{indexing_directory},
    5151    -lock_mode => "EX"
    5252);
    53 #my $search  = CGI::Wiki::Search::SII->new( indexdb => $indexdb );
     53my $search  = CGI::Wiki::Search::SII->new( indexdb => $indexdb );
    5454
    5555# Make formatter.
     
    416416    my %node_data = $wiki->retrieve_node($node);
    417417    my ($content, $checksum) = @node_data{ qw( content checksum ) };
    418     my %metadata  = %{$node_data{metadata}};
    419     my $username  = &get_cookie;
     418    my %metadata   = %{$node_data{metadata}};
     419    my $username   = &get_cookie;
    420420    my %tt_vars = ( content    => $q->escapeHTML($content),
    421421                    checksum   => $q->escapeHTML($checksum),
Note: See TracChangeset for help on using the changeset viewer.