Changeset 23452 for main/trunk


Ignore:
Timestamp:
2010-12-13T11:47:07+13:00 (13 years ago)
Author:
kjdon
Message:

use filename_cat when generating the full path for blocking. If teh item files use forward slash then this will turn them into back slash for windows

File:
1 edited

Legend:

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

    r23419 r23452  
    605605    # find the image file if there is one
    606606    if (defined $imgname && $imgname ne "") {
    607         $self->block_filename($block_hash,$dir.$imgname);
     607        $self->block_filename($block_hash, &util::filename_cat( $dir,$imgname));
    608608    }
    609609    # find the text file if there is one
    610610    if (defined $txtname && $txtname ne "") {
    611         $self->block_filename($block_hash,$dir.$txtname);
     611        $self->block_filename($block_hash, &util::filename_cat($dir,$txtname));
    612612    }
    613613    }
Note: See TracChangeset for help on using the changeset viewer.