diff options
-rw-r--r-- | classes/diskcache.php | 2 | ||||
-rwxr-xr-x | 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 { <?php } - function cached_url() { + function cached() { list ($cache_dir, $filename) = explode("/", $_GET["file"], 2); // we do not allow files with extensions at the moment |