tp内核更新至正式版

This commit is contained in:
2016-09-15 15:56:58 +08:00
parent 3a6802216e
commit 903af087ca
14 changed files with 49 additions and 11 deletions

View File

@@ -237,7 +237,11 @@ class App
{
if (empty($vars)) {
// 自动获取请求变量
$vars = Request::instance()->param();
if (Config::get('url_param_type')) {
$vars = Request::instance()->route();
} else {
$vars = Request::instance()->param();
}
}
$args = [];
// 判断数组类型 数字数组时按顺序绑定参数