From 3c762b88093fbacf2b5e8c64f698ac09bed898af Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Tue, 15 Oct 2019 13:49:46 +0200 Subject: Fix cache-control syntax for photos --- Zotlabs/Module/Photo.php | 3 +-- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3