Update Photo.php
This commit is contained in:
parent
eb02d01eed
commit
db020ca1a3
@ -223,7 +223,7 @@ class Photo extends \Zotlabs\Web\Controller {
|
||||
|
||||
header_remove('Pragma');
|
||||
|
||||
if($_SERVER['HTTP_IF_NONE_MATCH'] == md5($data) || $_SERVER['HTTP_IF_MODIFIED_SINCE'] === gmdate("D, d M Y H:i:s", $modified) . " GMT") {
|
||||
if($_SERVER['HTTP_IF_NONE_MATCH'] === md5($data) || $_SERVER['HTTP_IF_MODIFIED_SINCE'] === gmdate("D, d M Y H:i:s", $modified) . " GMT") {
|
||||
header_remove('Expires');
|
||||
header_remove('Cache-Control');
|
||||
header_remove('Set-Cookie');
|
||||
|
Reference in New Issue
Block a user