Ignore:
Timestamp:
2010-12-09T00:10:10+13:00 (13 years ago)
Author:
max
Message:

Setting the values to store as block files is now done through an API call to BasePlugin. This way, anything uniform requirement (such as putting in both C:\... and c:\... entries for Windows) can be done in one place.

File:
1 edited

Legend:

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

    r23363 r23419  
    235235        foreach my $e (keys %$exts) {
    236236        # block the file
    237         $block_hash->{'file_blocks'}->{"$prefix$e"} = 1;
     237        $self->block_filename($block_hash,"$prefix$e");
    238238        # set up as an associatd file
    239239        print STDERR "  $self->{'plugin_type'}: Associating $prefix$e with $tie_to version\n";
     
    333333    $self->sort_out_associated_files($block_hash);
    334334    #return $count;
     335    return 1;
    335336   
    336337}
Note: See TracChangeset for help on using the changeset viewer.