修正Route类的parseUrlParams方法

This commit is contained in:
thinkphp
2016-06-08 13:53:49 +08:00
parent 2a026c6aef
commit 27bd976916
2 changed files with 2 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ class App
try {
$instance = Loader::controller($controller, $config['url_controller_layer'], $config['use_controller_suffix'], $config['empty_controller']);
// 获取当前操作名
$action = $actionName . $config['action_suffix'];
if (!preg_match('/^[A-Za-z](\w)*$/', $action)) {