Ignore:
Timestamp:
2009-01-07T17:59:22+13:00 (15 years ago)
Author:
ak19
Message:

Extra parameter to new doc(): the renaming method to be used on the file (base64 or URL encoding).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/PagedImagePlugin.pm

    r17822 r18327  
    479479   
    480480    # create a new document
    481     $self->{'doc_obj'} = new doc ($self->{'filename'}, "indexed_doc");
     481    $self->{'doc_obj'} = new doc ($self->{'filename'}, "indexed_doc", $self->{'file_rename_method'});
    482482    # TODO is file filenmae_no_path??
    483483    $self->set_initial_doc_fields($self->{'doc_obj'}, $self->{'file'}, $self->{'processor'});
     
    529529    my ($filename_full_path, $dir, $filename_no_path, $processor) = @_;
    530530
    531     my $doc_obj = new doc ($filename_full_path, "indexed_doc");
     531    my $doc_obj = new doc ($filename_full_path, "indexed_doc", $self->{'file_rename_method'});
    532532    $self->set_initial_doc_fields($doc_obj, $filename_no_path, $processor);
    533533    my $topsection = $doc_obj->get_top_section();
Note: See TracChangeset for help on using the changeset viewer.