From b44a26eb73010260922d242875a3b4773936a084 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 15 Sep 2014 15:04:39 +0200 Subject: f5 protection and improved UI --- func_youtube.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'func_youtube.php') diff --git a/func_youtube.php b/func_youtube.php index 9affc33..692cc90 100644 --- a/func_youtube.php +++ b/func_youtube.php @@ -11,7 +11,8 @@ $yt->setMajorProtocolVersion(2); function error(){ - header("Refresh: 0; /youtube"); + header($_SERVER['SERVER_PROTOCOL'] . " 503 Temporary unavailable"); + header("Refresh: 0; /random"); exit; } -- cgit v1.2.3