Changeset 4810


Ignore:
Timestamp:
2003-06-25T15:51:13+12:00 (21 years ago)
Author:
kjdon
Message:

added two new fields to build.cfg: indexlevels and textlevel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/colcfg.pm

    r4767 r4810  
    113113# {'indexfieldmap'}->array of strings in the form "field->FI"
    114114# {'indexmap'} -> array of strings
    115  
     115# {'indexlevels'} -> array of strings
     116# {'textlevel'}->string
    116117sub read_build_cfg {
    117118    my ($filename) = @_;
    118119
    119120    return &cfgread::read_cfg_file ($filename,
    120                     q/^(builddate|buildtype|numdocs|numwords|numbytes|maxnumeric)$/,
    121                     q/^(metadata|languages|indexfields|indexfieldmap|indexmap)$/);
     121                    q/^(builddate|buildtype|numdocs|numwords|numbytes|maxnumeric|textlevel)$/,
     122                    q/^(metadata|languages|indexfields|indexfieldmap|indexmap|indexlevels)$/);
    122123}
    123124
     
    126127
    127128    &cfgread::write_cfg_file($filename, $data,
    128            q/^(builddate|buildtype|numdocs|numwords|numbytes|maxnumeric)$/,
    129            q/^(metadata|languages|indexfieldsindexfieldmap|indexmap)$/);
     129           q/^(builddate|buildtype|numdocs|numwords|numbytes|maxnumeric|textlevel)$/,
     130           q/^(metadata|languages|indexfieldsindexfieldmap|indexmap|indexlevels)$/);
    130131}
    131132
Note: See TracChangeset for help on using the changeset viewer.