diff --git a/auth.php b/auth.php index 37d3cca..59c7f2a 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"){ // 替换成葫芦娃、猫和老鼠、喜羊羊、肥肠抱歉 + if (REPLACE_TYPE=="hlw" || REPLACE_TYPE=="tom" || REPLACE_TYPE=="xyy" || REPLACE_TYPE=="404" || REPLACE_TYPE=="rickroll"){ // 替换成葫芦娃、猫和老鼠、喜羊羊、肥肠抱歉 include ("replace.php"); replace(); }else { diff --git a/replace.php b/replace.php index 688d24a..bb96102 100644 --- a/replace.php +++ b/replace.php @@ -24,6 +24,8 @@ function replace(){ $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 new file mode 100644 index 0000000..79c3fc2 --- /dev/null +++ b/rickroll.php @@ -0,0 +1,45 @@ + \ No newline at end of file