aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-06 16:22:34 +0100
committerMax Kostikov <max@kostikov.co>2018-11-06 16:22:34 +0100
commit40d9277ef38ef1200db59cd2f8c6b9e2a80bc332 (patch)
treee01a399761fa23cb7959976cc87e83e8193eb08f /Zotlabs
parent3491c488d340b7d5b4e0610398427cb52c05bf8e (diff)
downloadvolse-hubzilla-40d9277ef38ef1200db59cd2f8c6b9e2a80bc332.tar.gz
volse-hubzilla-40d9277ef38ef1200db59cd2f8c6b9e2a80bc332.tar.bz2
volse-hubzilla-40d9277ef38ef1200db59cd2f8c6b9e2a80bc332.zip
remove 'Expiries' HTTP header
Diffstat (limited to 'Zotlabs')
-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 d76fca278..0f47ee103 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -246,8 +246,7 @@ class Photo extends \Zotlabs\Web\Controller {
// leave it alone.
$cache = get_config('system','photo_cache_time', 86400); // 1 day by default
-
- header("Expires: " . gmdate("D, d M Y H:i:s", time() + $cache) . " GMT");
+
header("Cache-Control: max-age=" . $cache);
}