Hello/Hi/Greetings,
I've noticed that download does nothing on my server so I've checked the code and noticed that on action.php file, around line 163 there is a condition like this:
if ( isset($_SERVER['HTTP_IF_MODIFIED_SINCE']))
I can't understand why but this var was set but it's empty, so the download returned 304 always, I've fixed it by changing that line into:
if ( isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && !empty($_SERVER['HTTP_IF_MODIFIED_SINCE']))
and this way it works fine. Just wanted to report it here because may be this fix should be added on next Piwigo version
Piwigo version: 2.7.4
PHP version: 5.3
MySQL version:
Piwigo URL: http://localhost
Hi Longhorn,
Which web server do you have? Apache, Nginx, something else?
Offline