diff options
author | Andrew Dolgov <[email protected]> | 2019-08-13 12:39:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-13 12:39:21 +0300 |
commit | b1dd38f880d843dad92f0d76838edd40f1bf687b (patch) | |
tree | 5a765e132ce74911e0b68596fa51118e4ee0f7a0 /classes/handler | |
parent | 7602819b9825ffe2013e214b6d072ae798d5541a (diff) |
add DiskCache.getUrl() and use it in a bunch of places
Diffstat (limited to 'classes/handler')
-rwxr-xr-x | classes/handler/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 0e990bec7..97c61cfd3 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -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); |