Changeset 23452

Show
Ignore:
Timestamp:
13.12.2010 11:47:07 (9 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

Files:
1 modified

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    }