mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 00:05:56 +00:00
add DiskCache.getUrl() and use it in a bunch of places
This commit is contained in:
@@ -1202,7 +1202,7 @@ class Handler_Public extends Handler {
|
||||
}
|
||||
|
||||
function cached_url() {
|
||||
@$req_filename = basename($_GET['hash']);
|
||||
@$req_filename = basename($_GET['file']);
|
||||
|
||||
// we don't need an extension to find the file, hash is a complete URL
|
||||
$hash = preg_replace("/\.[^\.]*$/", "", $req_filename);
|
||||
|
||||
Reference in New Issue
Block a user