From 9604a8553191bba36ca490c9b0078d6ae6bc8949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E7=BE=8A?= Date: Thu, 1 Jun 2023 23:24:32 +0800 Subject: [PATCH] Update huya.php --- PHP/huya.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PHP/huya.php b/PHP/huya.php index 7e7c804..3fe7d63 100644 --- a/PHP/huya.php +++ b/PHP/huya.php @@ -131,11 +131,11 @@ if (array_key_exists("exceptionType", $realdata)) { } } header('location:' . $mediaurl); - exit; + exit(); } elseif ($realdata["roomInfo"]["eLiveStatus"] == 3) { header('location:' . "http:" . base64_decode($realdata["roomProfile"]["liveLineUrl"])); exit(); } else { header('location:' . $mediaurl); exit(); -} \ No newline at end of file +}