]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix simplepie image cache being requested from the wrong address (close #300)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 11 Jan 2011 08:38:03 +0000 (11:38 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 11 Jan 2011 08:38:03 +0000 (11:38 +0300)
functions.php

index 4184880fed2af5a57b2e590d53cfd143ceab0bcb..7c5a306afb1788aa17ab9256f177db921872fb88 100644 (file)
                                                _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']) {