diff options
| author | root | 2014-09-15 15:04:39 +0200 |
|---|---|---|
| committer | root | 2014-09-15 15:04:39 +0200 |
| commit | b44a26eb73010260922d242875a3b4773936a084 (patch) | |
| tree | fb52e73785afc46cb66ae627811c0b1485aef77a /func_youtube.php | |
| parent | 93b2daff3db922541e3cd1cb59081f15025439c8 (diff) | |
| download | video-dl-b44a26eb73010260922d242875a3b4773936a084.tar.gz | |
f5 protection and improved UI
Diffstat (limited to 'func_youtube.php')
| -rw-r--r-- | func_youtube.php | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
