diff options
author | Max Kostikov <max@kostikov.co> | 2019-10-15 13:49:46 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-10-15 13:49:46 +0200 |
commit | 3c762b88093fbacf2b5e8c64f698ac09bed898af (patch) | |
tree | 55e02fb5415e6bcebffe6c79cabca0a5149afb8b /Zotlabs/Module | |
parent | 3561fd7c43f261b4846b526aaa15a54b1d1fda53 (diff) | |
download | volse-hubzilla-3c762b88093fbacf2b5e8c64f698ac09bed898af.tar.gz volse-hubzilla-3c762b88093fbacf2b5e8c64f698ac09bed898af.tar.bz2 volse-hubzilla-3c762b88093fbacf2b5e8c64f698ac09bed898af.zip |
Fix cache-control syntax for photos
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Photo.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 162d62815..98b47a4a6 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -277,8 +277,7 @@ class Photo extends \Zotlabs\Web\Controller { // in the event that infrastructure caching is present. $smaxage = intval($maxage/12); - - header("Cache-Control: s-maxage=' .$smaxage. '; max-age=" . $maxage . $cachecontrol); + header("Cache-Control: s-maxage=" . $smaxage . ", max-age=" . $maxage . $cachecontrol); } |