]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
remove image.php; put cached image endpoint to public.php
[tt-rss.git] / include / functions2.php
index 17d8acb3e3e29f92c03e28b90ad2f9973de87b31..6d02d01e0407cb3cefe354d636a339181d66d3dc 100644 (file)
                                        $cached_filename = CACHE_DIR . '/images/' . sha1($src) . '.png';
 
                                        if (file_exists($cached_filename)) {
-                                               $src = SELF_URL_PATH . '/image.php?hash=' . sha1($src);
+                                               $src = SELF_URL_PATH . '/public.php?op=cached_image&hash=' . sha1($src);
                                        }
 
                                        $entry->setAttribute('src', $src);