mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
改进url生成
This commit is contained in:
@@ -80,7 +80,7 @@ class Url
|
|||||||
if (!empty($match[1])) {
|
if (!empty($match[1])) {
|
||||||
$domain = $match[1];
|
$domain = $match[1];
|
||||||
}
|
}
|
||||||
if (!empty($match[2])) {
|
if (!is_null($match[2])) {
|
||||||
$suffix = $match[2];
|
$suffix = $match[2];
|
||||||
}
|
}
|
||||||
} elseif (!empty($rule) && isset($name)) {
|
} elseif (!empty($rule) && isset($name)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user