From 11f37b24b48ed9307ecdb2ac19f5809876d9227a Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 20 Dec 2015 17:49:12 +0100 Subject: feature #379, multiple format, no browser cache No need random string in URL to avoid browser cache, coding tip by @modus75 --- picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'picture.php') diff --git a/picture.php b/picture.php index 093e4b271..75b7cdaf2 100644 --- a/picture.php +++ b/picture.php @@ -677,7 +677,7 @@ SELECT * foreach ($formats as &$format) { $format['download_url'] = 'action.php?format='.$format['format_id']; - $format['download_url'].= '&download='.substr(md5(time()), 0, 6); // a random string to avoid browser cache + $format['download_url'].= '&download'; $format['label'] = strtoupper($format['ext']); $lang_key = 'format '.strtoupper($format['ext']); -- cgit v1.2.3