Fix link thumbnailing, accidentally used include() instead of readfile() for cached images

This commit is contained in:
Nathan Gray 2007-10-15 21:04:40 +00:00
parent 073e5fdc81
commit a0201fd941

View File

@ -12,7 +12,7 @@
// Check for existing thumbnail
if(file_exists($g_dstfile) && filemtime($g_dstfile) >= filemtime($g_srcfile)) {
include $g_dstfile;
readfile($g_dstfile);
return;
}