From 053b262aa7d10f2e3c7352d8995a1d1bc1c760e8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 20:28:15 +0300 Subject: [PATCH] rename public.php/cached_url to cached --- classes/diskcache.php | 2 +- classes/handler/public.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/diskcache.php b/classes/diskcache.php index bad2ee0da..94f645f32 100644 --- a/classes/diskcache.php +++ b/classes/diskcache.php @@ -273,7 +273,7 @@ class DiskCache { } public function get_url($filename) { - return get_self_url_prefix() . "/public.php?op=cached_url&file=" . basename($this->dir) . "/" . basename($filename); + return get_self_url_prefix() . "/public.php?op=cached&file=" . basename($this->dir) . "/" . basename($filename); } // check for locally cached (media) URLs and rewrite to local versions diff --git a/classes/handler/public.php b/classes/handler/public.php index 62543859c..8076bb303 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -737,7 +737,7 @@ class Handler_Public extends Handler {