From 343252324a613d1406b1a95afbdc49eb70646bd9 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 15 Jun 2016 15:57:12 +0800 Subject: [PATCH] =?UTF-8?q?start=E6=96=87=E4=BB=B6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); }