summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-13 12:39:21 +0300
committerAndrew Dolgov <[email protected]>2019-08-13 12:39:21 +0300
commitb1dd38f880d843dad92f0d76838edd40f1bf687b (patch)
tree5a765e132ce74911e0b68596fa51118e4ee0f7a0 /classes/handler/public.php
parent7602819b9825ffe2013e214b6d072ae798d5541a (diff)
add DiskCache.getUrl() and use it in a bunch of places
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php2
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);