修正url类生成地址不带参数不显示伪静态后缀的问题

This commit is contained in:
thinkphp
2015-12-16 08:43:31 +08:00
parent a8f6c75042
commit 991b20073f

View File

@@ -73,6 +73,8 @@ class Url
} }
$url .= $suffix; $url .= $suffix;
} }
} else {
$url .= $suffix;
} }
if (!empty($anchor)) { if (!empty($anchor)) {