fix domain 提取失误

master
IoTcat 5 years ago
parent 9d0c1b0a14
commit e4fc9a172f
  1. 2
      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];
}

Loading…
Cancel
Save