diff options
author | Max Kostikov <max@kostikov.co> | 2019-10-15 14:00:21 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-10-15 14:00:21 +0200 |
commit | 8bf57c62268df6c1f5149552e5c9dd9ab4da65aa (patch) | |
tree | 55e02fb5415e6bcebffe6c79cabca0a5149afb8b /Zotlabs/Module/Photo.php | |
parent | 66bfc0ec642faa0ac8798300483da95666b0318f (diff) | |
parent | 3c762b88093fbacf2b5e8c64f698ac09bed898af (diff) | |
download | volse-hubzilla-8bf57c62268df6c1f5149552e5c9dd9ab4da65aa.tar.gz volse-hubzilla-8bf57c62268df6c1f5149552e5c9dd9ab4da65aa.tar.bz2 volse-hubzilla-8bf57c62268df6c1f5149552e5c9dd9ab4da65aa.zip |
Merge branch 'dev' into 'dev'
Dev
See merge request hubzilla/core!1755
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-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); } |