From 3bb84e14b7908ec5e8b2ea0c5a6c55282fd675ab Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 19 Jan 2016 22:07:13 +0800 Subject: [PATCH] =?UTF-8?q?start.php=E8=B0=83=E6=95=B4=20=E5=92=8C=20App::?= =?UTF-8?q?run=20=E5=88=86=E7=A6=BB=20=E4=BE=BF=E4=BA=8E=E5=9C=A8=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E6=96=87=E4=BB=B6=E5=8A=A8=E6=80=81=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/start.php b/start.php index fc906652..16c973b6 100644 --- a/start.php +++ b/start.php @@ -46,13 +46,3 @@ if (APP_HOOK && isset($mode['tags'])) { if (APP_AUTO_BUILD && is_file(APP_PATH . 'build.php')) { Build::run(include APP_PATH . 'build.php'); } -if (isset($mode['run'])) { - call_user_func($mode['run']); -} else { - if (IN_UNIT_TEST) { - Loader::addNamespace('tests', TEST_PATH); - } else { - // 执行应用 - App::run(); - } -}