diff options
author | Andrew Dolgov <[email protected]> | 2015-02-27 14:51:26 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-02-27 14:51:26 +0300 |
commit | 0c6f7b314ae663f1f9fc8ade53b9914f46e02954 (patch) | |
tree | 6df75ba10d0646590ee2ef4937a8aed91ccfcd5e /include/functions2.php | |
parent | 95ebe737bd9db0f3062f15bc79e37abe3f6faae5 (diff) |
remove image.php; put cached image endpoint to public.php
Diffstat (limited to 'include/functions2.php')
-rw-r--r-- | include/functions2.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |