Ignore:
Timestamp:
2011-01-13T11:49:38+13:00 (13 years ago)
Author:
kjdon
Message:

moved the block_filename from BasePlugin into util. then I don't need to duplicate it for DirectoryPlugin which doesn't inherit from BasePlugin

File:
1 edited

Legend:

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

    r23463 r23561  
    180180
    181181    my $html_fname = $filename_full_path;
    182     my @file_blocks;
    183182   
    184183    my ($language, $content_encoding) = $self->textcat_get_language_encoding ($filename_full_path);
     
    281280
    282281        # Allow for possibility of raw byte version and Unicode versions of file
    283         $self->block_filename($block_hash,$unicode_url_original_filename);
     282        &util::block_filename($block_hash,$unicode_url_original_filename);
    284283    }
    285284
    286285    # $url_original_filename = &util::upgrade_if_dos_filename($url_original_filename);
    287286   
    288     $self->block_filename($block_hash,$url_original_filename);
     287    &util::block_filename($block_hash,$url_original_filename);
    289288       
    290289    }
Note: See TracChangeset for help on using the changeset viewer.