mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进Url生成对端口号的支持
This commit is contained in:
@@ -272,7 +272,7 @@ class Url
|
|||||||
$domain .= '.' . $rootDomain;
|
$domain .= '.' . $rootDomain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (false !== strpos($domain, ':')) {
|
if (false !== strpos($domain, '://')) {
|
||||||
$scheme = '';
|
$scheme = '';
|
||||||
} else {
|
} else {
|
||||||
$scheme = $request->isSsl() || Config::get('is_https') ? 'https://' : 'http://';
|
$scheme = $request->isSsl() || Config::get('is_https') ? 'https://' : 'http://';
|
||||||
|
|||||||
Reference in New Issue
Block a user