Ignore:
Timestamp:
2010-07-22T18:55:18+12:00 (14 years ago)
Author:
ak19
Message:
  1. Dr Bainbridge fixed the database perl modules to all have the method read_info_keys (which reads the keys from the database into a map), so that dbutil.pm can have the same as a generic method. 2. buildConfigxml.pm only writes out the defaultIndex if it is set (to prevent an Uninitialised Variable warning message from Perl).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/buildConfigxml.pm

    r21822 r22485  
    331331
    332332   
    333     &write_line('COLCFG', ["<defaultIndex shortname=\"", $defaultindex, "\" />"]);
     333    #$defaultindex = "ZZ" if (!$defaultindex); # index allfields by default
     334    if($defaultindex) {
     335    &write_line('COLCFG', ["<defaultIndex shortname=\"", $defaultindex, "\" />"]);
     336    }
    334337
    335338
Note: See TracChangeset for help on using the changeset viewer.