App类改进run方法传入Request对象 便于构造自己的Request对象

This commit is contained in:
thinkphp
2016-05-11 12:25:29 +08:00
parent 9843eaf243
commit b50eeb5e7d
4 changed files with 25 additions and 24 deletions

View File

@@ -64,5 +64,5 @@ if (APP_HOOK && isset($mode['tags'])) {
// 是否自动运行
if (APP_AUTO_RUN) {
App::run();
App::run(new Request());
}