From 0c6f7b314ae663f1f9fc8ade53b9914f46e02954 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 27 Feb 2015 14:51:26 +0300 Subject: remove image.php; put cached image endpoint to public.php --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions2.php') diff --git a/include/functions2.php b/include/functions2.php index 17d8acb3e..6d02d01e0 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -900,7 +900,7 @@ $cached_filename = CACHE_DIR . '/images/' . sha1($src) . '.png'; if (file_exists($cached_filename)) { - $src = SELF_URL_PATH . '/image.php?hash=' . sha1($src); + $src = SELF_URL_PATH . '/public.php?op=cached_image&hash=' . sha1($src); } $entry->setAttribute('src', $src); -- cgit v1.2.3