diff --git a/start.php b/start.php index 036716bc..20a7817c 100644 --- a/start.php +++ b/start.php @@ -64,8 +64,5 @@ if (isset($mode['tags'])) { // 是否自动运行 if (APP_AUTO_RUN) { - $response = App::run(); - if($response instanceof Response){ - $response->send(); - } + App::run()->send(); }