From a0201fd941ffa7cff52f909efd9311a546cd6a35 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 15 Oct 2007 21:04:40 +0000 Subject: [PATCH] Fix link thumbnailing, accidentally used include() instead of readfile() for cached images --- etemplate/inc/thumbnail.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/thumbnail.inc.php b/etemplate/inc/thumbnail.inc.php index 2194e4f941..7bc314d367 100644 --- a/etemplate/inc/thumbnail.inc.php +++ b/etemplate/inc/thumbnail.inc.php @@ -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; }