From: Andrew Dolgov Date: Tue, 11 Jan 2011 08:38:03 +0000 (+0300) Subject: fix simplepie image cache being requested from the wrong address (close #300) X-Git-Tag: 1.5.1~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0efa586a10509c59d30835f23978bb29a8f1a6f5;p=tt-rss.git fix simplepie image cache being requested from the wrong address (close #300) --- diff --git a/functions.php b/functions.php index 4184880f..7c5a306a 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']) {