Ignore:
Timestamp:
2010-01-21T16:20:42+13:00 (14 years ago)
Author:
mdewsnip
Message:

Changed all places explicitly using "archiveinf-doc.gdb" or "archiveinf-src.gdb" to use the dbutil::get_infodb_file_path() function... you know, the one that should have been used originally? In preparation for making it possible to use something other than GDBM, and part of making the code less GDBM-specific.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/DirectoryPlugin.pm

    r21563 r21566  
    132132    my $output_dir = $processor->getoutputdir();
    133133##  my $archives_inf = &util::filename_cat($output_dir,"archives.inf");
    134     my $doc_db = "archiveinf-doc.gdb";
    135         my $archives_inf = &util::filename_cat($output_dir,$doc_db);
     134        my $archives_inf = &dbutil::get_infodb_file_path("gdbm", "archiveinf-doc", $output_dir);
    136135
    137136    if ( -e $archives_inf ) {
Note: See TracChangeset for help on using the changeset viewer.