控制器版本移除 增加controller_load标签位

This commit is contained in:
thinkphp
2016-03-27 20:47:44 +08:00
parent bfd89eaed5
commit 1cb86e4a3b
3 changed files with 5 additions and 11 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'), Input::get(Config::get('var_version')));
$instance = Loader::controller(CONTROLLER_NAME, '', Config::get('empty_controller'));
// 获取当前操作名
$action = ACTION_NAME . Config::get('action_suffix');