aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-10-15 13:49:46 +0200
committerMax Kostikov <max@kostikov.co>2019-10-15 13:49:46 +0200
commit3c762b88093fbacf2b5e8c64f698ac09bed898af (patch)
tree55e02fb5415e6bcebffe6c79cabca0a5149afb8b /Zotlabs/Module
parent3561fd7c43f261b4846b526aaa15a54b1d1fda53 (diff)
downloadvolse-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.php3
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);
}