From 0efa586a10509c59d30835f23978bb29a8f1a6f5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 Jan 2011 11:38:03 +0300 Subject: [PATCH] fix simplepie image cache being requested from the wrong address (close #300) --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 4184880fe..7c5a306af 100644 --- a/functions.php +++ b/functions.php @@ -656,7 +656,7 @@ _debug("enabling image cache"); } - $rss->set_image_handler('./image.php', 'i'); + $rss->set_image_handler(get_self_url_prefix() . '/image.php', 'i'); } if (defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug']) {