diff options
author | Max Kostikov <max@kostikov.co> | 2018-11-06 13:51:01 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-11-06 13:51:01 +0100 |
commit | 3491c488d340b7d5b4e0610398427cb52c05bf8e (patch) | |
tree | b19ba97c46bd757ad5936b7acc69d6087384becc /Zotlabs/Module/Photo.php | |
parent | 1828b6daab88041dbc85f11cc4e04efede6c993b (diff) | |
download | volse-hubzilla-3491c488d340b7d5b4e0610398427cb52c05bf8e.tar.gz volse-hubzilla-3491c488d340b7d5b4e0610398427cb52c05bf8e.tar.bz2 volse-hubzilla-3491c488d340b7d5b4e0610398427cb52c05bf8e.zip |
Update Photo.php
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r-- | Zotlabs/Module/Photo.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 07443bb83..d76fca278 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -252,6 +252,8 @@ class Photo extends \Zotlabs\Web\Controller { } + header("Last-Modified: " . gmdate("D, d M Y H:i:s", $modified) . " GMT"); + header("Content-Length: " . strlen($data)); // If it's a file resource, stream it. @@ -268,8 +270,6 @@ class Photo extends \Zotlabs\Web\Controller { } } else { - header("Last-Modified: " . gmdate("D, d M Y H:i:s", $modified) . " GMT"); - header("Content-Length: " . strlen($data)); echo $data; } |