fix simplepie image cache being requested from the wrong address (close #300)

This commit is contained in:
Andrew Dolgov 2011-01-11 11:38:03 +03:00
parent 12df6592f3
commit 0efa586a10
1 changed files with 1 additions and 1 deletions

View File

@ -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']) {