From 0428c356842bd9188d6672ae14ec86653165ffd0 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 13 Apr 2024 00:07:03 +0200 Subject: [PATCH] b.php: make banners redirect instead of serving the image directly --- b.php | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/b.php b/b.php index 83285b81..446fb47c 100644 --- a/b.php +++ b/b.php @@ -1,20 +1,8 @@ +$name = $files[array_rand($files)]; +header("Location: /static/banners/$name", true, 307); +header('Cache-Control: no-cache');