aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-06 20:28:29 +0000
committerMario <mario@mariovavti.com>2023-05-06 20:28:29 +0000
commitf3f861234db069868d38bb231817966507da5274 (patch)
treeac788b58b5c698587d2271288438bfd2f13d31a4 /Zotlabs/Module
parent93278c00b745a67fda03395f73c79cb2ddeb12d7 (diff)
downloadvolse-hubzilla-f3f861234db069868d38bb231817966507da5274.tar.gz
volse-hubzilla-f3f861234db069868d38bb231817966507da5274.tar.bz2
volse-hubzilla-f3f861234db069868d38bb231817966507da5274.zip
minor css fix
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Photo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 10d2e8f47..fa87d96e5 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -271,7 +271,6 @@ class Photo extends \Zotlabs\Web\Controller {
$modified = time();
header_remove('Pragma');
-
if((isset($_SERVER['HTTP_IF_NONE_MATCH']) && $_SERVER['HTTP_IF_NONE_MATCH'] === $etag) || (!isset($_SERVER['HTTP_IF_NONE_MATCH']) && isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && $_SERVER['HTTP_IF_MODIFIED_SINCE'] === gmdate("D, d M Y H:i:s", $modified) . " GMT")) {
header_remove('Expires');
header_remove('Cache-Control');
@@ -307,6 +306,8 @@ class Photo extends \Zotlabs\Web\Controller {
// This has performance considerations but we highly recommend you
// leave it alone.
+
+
$maxage = $cache_mode['age'];
if($cache_mode['exp'] || (! isset($expires)) || (isset($expires) && $expires - 60 < time()))