aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-05 21:26:10 +0100
committerMax Kostikov <max@kostikov.co>2018-11-05 21:26:10 +0100
commitf7ce374a28c2d5ad1ff8d8c81a544855d2bf5127 (patch)
treeead08f7796445325522684bdb64cf68abcc58619 /Zotlabs
parent2dd124d09e05dad1f640f25dc8c3cd8abdfd1aad (diff)
downloadvolse-hubzilla-f7ce374a28c2d5ad1ff8d8c81a544855d2bf5127.tar.gz
volse-hubzilla-f7ce374a28c2d5ad1ff8d8c81a544855d2bf5127.tar.bz2
volse-hubzilla-f7ce374a28c2d5ad1ff8d8c81a544855d2bf5127.zip
Update Photo.php
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 41a145ae1..f01909ff5 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -240,7 +240,7 @@ class Photo extends \Zotlabs\Web\Controller {
// This has performance considerations but we highly recommend you
// leave it alone.
- $cache = get_config('system','photo_cache_time', 3600);
+ $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);