aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-20 17:49:12 +0100
committerplegall <plg@piwigo.org>2015-12-20 17:49:12 +0100
commit11f37b24b48ed9307ecdb2ac19f5809876d9227a (patch)
treeae29a81b0e459b149589c41097708c7abc5f878a /picture.php
parent89bc74b3f30e169ab51e5b2728767f02a94a991c (diff)
feature #379, multiple format, no browser cache
No need random string in URL to avoid browser cache, coding tip by @modus75
Diffstat (limited to '')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
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'].= '&amp;download='.substr(md5(time()), 0, 6); // a random string to avoid browser cache
+ $format['download_url'].= '&amp;download';
$format['label'] = strtoupper($format['ext']);
$lang_key = 'format '.strtoupper($format['ext']);