mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正Route类一处错误
This commit is contained in:
@@ -302,7 +302,7 @@ class Route
|
||||
$option['complete_match'] = true;
|
||||
}
|
||||
|
||||
if (true == $option['complete_match'] && '$' == substr($rule, -1, 1)) {
|
||||
if ('$' == substr($rule, -1, 1)) {
|
||||
$rule = substr($rule, 0, -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user