添加控制器版本功能 删除 mongodb

This commit is contained in:
thinkphp
2016-03-27 17:23:29 +08:00
parent 615d529519
commit ab5633704e
5 changed files with 11 additions and 1133 deletions

View File

@@ -224,7 +224,7 @@ class App
// 安全检测
throw new Exception('illegal controller name:' . CONTROLLER_NAME, 10000);
}
$instance = Loader::controller(CONTROLLER_NAME, '', Config::get('empty_controller'));
$instance = Loader::controller(CONTROLLER_NAME, '', Config::get('empty_controller'), Input::get(Config::get('var_version')));
// 获取当前操作名
$action = ACTION_NAME . Config::get('action_suffix');