mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:35:57 +00:00
remove image.php; put cached image endpoint to public.php
This commit is contained in:
@@ -900,7 +900,7 @@
|
||||
$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);
|
||||
|
||||
Reference in New Issue
Block a user