From 16e28b37a38a2e3f316f55e7311ca72ebc99c17d Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sun, 31 Jul 2005 04:35:18 +0000 Subject: [PATCH] Really use the url field as the local filesystem filename --- appimage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appimage.php b/appimage.php index 792f930..cf0d49c 100644 --- a/appimage.php +++ b/appimage.php @@ -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 */ /* 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 */