Changeset 10431


Ignore:
Timestamp:
2005-08-05T17:47:49+12:00 (19 years ago)
Author:
chi
Message:

In process_assoc_files, for some reasons, there is a "/" in front of full path name of assoicated
image file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/docsave.pm

    r10217 r10431  
    497497    my ($dir, $afile) = $assoc_file_rec->[1] =~ /^(.*?)([^\/\\]+)$/;
    498498    $dir = "" unless defined $dir;
    499 
    500 
     499       
     500   
    501501    my $real_filename = $assoc_file_rec->[0];
     502    # for some reasons the image associate file has / before the full path
     503    $real_filename =~ s/^\\(.*)/$1/i;
    502504    if (-e $real_filename) {
    503505
Note: See TracChangeset for help on using the changeset viewer.