From 59f7689275f666e153eebaaab460d8d3bb91d74d Mon Sep 17 00:00:00 2001 From: "cn.yimian.xyz" Date: Sat, 31 Oct 2020 15:48:51 +0800 Subject: [PATCH] add_blank --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 2642087..f17ac8d 100755 --- a/index.php +++ b/index.php @@ -30,7 +30,8 @@ $whiteList = array( 'shorturl.yimian.xyz', 'mksec.yimian.xyz', 'monitor.yimian.xyz', - 'blog.yimian.xyz' + 'blog.yimian.xyz', + 'blank.com' ); @@ -63,6 +64,7 @@ if(!isset($command)) $command = null; $__from = get_from(); +if($__from == '') $__from = 'http://blank.com/'; $__from = parse_url($__from)['host']; if(!in_array($__from, $whiteList) && $type == "moe"){