mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正
This commit is contained in:
@@ -1353,7 +1353,7 @@ class Request
|
|||||||
$host = $this->server('HTTP_HOST');
|
$host = $this->server('HTTP_HOST');
|
||||||
}
|
}
|
||||||
|
|
||||||
return true === $strict ? strstr($host, ':', true) : $host;
|
return true === $strict && strpos($host, ':') ? strstr($host, ':', true) : $host;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user