Really use the url field as the local filesystem filename

This commit is contained in:
Chris Morgan
2005-07-31 04:35:18 +00:00
committed by WineHQ
parent 5dcc4e3ae7
commit 16e28b37a3

View File

@@ -35,7 +35,7 @@ if ($_REQUEST['REQUEST_METHOD']='HEAD')
/* we need to use the url field from appData, this is the name of the file */ /* we need to use the url field from appData, this is the name of the file */
/* in the filesystem */ /* in the filesystem */
$fImage = fopen(appdb_fullpath("data/screenshots/".$oRow->id), "rb"); $fImage = fopen(appdb_fullpath("data/screenshots/".$oRow->url), "rb");
} }
/* if the query failed or if we didn't find the image, we should */ /* if the query failed or if we didn't find the image, we should */