From: Jeff W. <je...@js...> - 2001-01-28 16:14:12
|
Kept getting an unable to open file error in the Apache error log when viewing the full size photos and the pathname to the image file name was duplicated twice within the error message. This may already be fixed, but the following patch against 0.51 fixes it. Thanks, Jeff --- idsShared.pm Tue Dec 5 19:06:58 2000 +++ idsShared.pm Sun Jan 28 10:40:16 2001 @@ -372,7 +372,7 @@ $type = '' unless defined $type; my($previewName) = filenameToDisplayName($imgName, $previewMaxDimension); createDisplayImage($previewMaxDimension, $ppath, $previewName, - $ppath."albums/$albumName/$imgName"); + $ppath."albums/$albumName/$base"); my($prettyImageTitle) = $base; $prettyImageTitle =~ s/\#\d+_//g; $prettyImageTitle =~ s/\.(\S+)\Z//; -- Message of the Message: If I traveled to the end of the rainbow As Dame Fortune did intend, Murphy would be there to tell me The pot's at the other end. -- Bert Whitney |