diff options
author | Andrew Dolgov <[email protected]> | 2011-01-11 11:38:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-01-11 11:38:03 +0300 |
commit | 0efa586a10509c59d30835f23978bb29a8f1a6f5 (patch) | |
tree | 0e0ad600825a4830be296d63d7b753da5b2d0e2f | |
parent | 12df6592f337083d9bb0f652851a11fba1310cfd (diff) |
fix simplepie image cache being requested from the wrong address (close #300)
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']) { |