website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit 85633153af22fa55644c0176de883637e5cbf5cc
parent 50c778554d24c33632d7e0759f959b7c46267ec8
Author: Nixx <nixx@firemail.cc>
Date:   Sat,  6 Nov 2021 20:32:51 +0000

Fix background cache

Diffstat:
Minc/bg.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/bg.php b/inc/bg.php @@ -5,7 +5,7 @@ $images = array_diff($files, array('.', '..')); $name = $images[array_rand($images)]; $fp = fopen($dir . $name, 'rb'); -header('Cache-Control: no-cache, no-store, must-revalidate'); +header('Cache-Control: no-cache'); header('Pragma: no-cache'); header('Expires: 0'); header('Content-Type: ' . $fp['type']);