From 3f77130c7862ae1a5221f7781a0986ba3dd119a0 Mon Sep 17 00:00:00 2001 From: david082321 <7046617+david082321@users.noreply.github.com> Date: Sun, 24 Jan 2021 21:28:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E8=82=A5=E8=82=A0?= =?UTF-8?q?=E6=8A=B1=E6=AD=89=E3=80=81Rickroll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.php | 7 ------- auth.php | 2 +- replace.php | 4 ---- rickroll.php | 45 --------------------------------------------- 4 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 404.php delete mode 100644 rickroll.php diff --git a/404.php b/404.php deleted file mode 100644 index 7399d47..0000000 --- a/404.php +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/auth.php b/auth.php index 59c7f2a..e57ab20 100644 --- a/auth.php +++ b/auth.php @@ -12,7 +12,7 @@ if (BLOCK_TYPE=="none"){ // 无鉴权模式 $out = get_webpage($url); // 如果是黑名单 if ($out=="ban" || $baned == 1){ - if (REPLACE_TYPE=="hlw" || REPLACE_TYPE=="tom" || REPLACE_TYPE=="xyy" || REPLACE_TYPE=="404" || REPLACE_TYPE=="rickroll"){ // 替换成葫芦娃、猫和老鼠、喜羊羊、肥肠抱歉 + if (REPLACE_TYPE=="hlw" || REPLACE_TYPE=="tom" || REPLACE_TYPE=="xyy"){ // 替换成葫芦娃、猫和老鼠、喜羊羊 include ("replace.php"); replace(); }else { diff --git a/replace.php b/replace.php index bb96102..8952561 100644 --- a/replace.php +++ b/replace.php @@ -22,10 +22,6 @@ function replace(){ $url = 'https://black.qimo.ink/TandJ.php?type='.$type; }else if (REPLACE_TYPE=="xyy"){ $url = 'https://bili.tuturu.top/xyyjson.php?type='.$type; - }else if (REPLACE_TYPE=="404"){ - $url = 'https://'.$_SERVER['HTTP_HOST'].'/404.php?type='.$type; - }else if (REPLACE_TYPE=="rickroll"){ - $url = 'https://'.$_SERVER['HTTP_HOST'].'/rickroll.php?type='.$type; }else{ $url = 'https://black.qimo.ink/TandJ.php?type='.$type; } diff --git a/rickroll.php b/rickroll.php deleted file mode 100644 index 79c3fc2..0000000 --- a/rickroll.php +++ /dev/null @@ -1,45 +0,0 @@ - \ No newline at end of file