From e4fc9a172ffe761d0c4396c3828185b7d4622765 Mon Sep 17 00:00:00 2001 From: IoTcat Date: Wed, 20 Mar 2019 19:52:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=20domain=20=E6=8F=90=E5=8F=96=E5=A4=B1?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/cn/home/www/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cn/home/www/functions.php b/server/cn/home/www/functions.php index 0fbbada..0f677a2 100644 --- a/server/cn/home/www/functions.php +++ b/server/cn/home/www/functions.php @@ -421,7 +421,7 @@ function get_from(){ function get_from_domain(){ $str = str_replace("http://","",get_from()); - $str = str_replace("https://","",get_from()); + $str = str_replace("https://","",$str); $strdomain = explode("/",$str); return $strdomain[0]; }