[AppDB] - fix appimage.php

Chris Morgan cmorgan at alum.wpi.edu
Sat Jul 8 12:24:33 CDT 2006


appimage was calling stat() on files composed like: "data/screenshots/'.
$aClean['iId'] where iId is the image id.  When we first had screenshots we 
used the filename that the user provided as the actual name of the file on 
disk.  Later on we switched such that each file is named after its image id.  
Use the image url field in place of the image id so we can continue to stat() 
the hundreds of files that don't use the current numbering scheme and so we 
are more flexible in the future if we decide to move or remap images by 
modifying their url.

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_appimage.patch
Type: text/x-diff
Size: 985 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060708/3203f0d6/fix_appimage.patch


More information about the wine-patches mailing list