From 4d53e9bc19a685db5a082c5d339eb3433115b8c6 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 22 Dec 2015 15:43:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=B8=B8=E9=87=8F=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.php b/start.php index 1d73987b..8aa7a11a 100644 --- a/start.php +++ b/start.php @@ -43,9 +43,9 @@ if (APP_HOOK && isset($mode['tags'])) { } // 自动生成 -if ('sae' != APP_MODE && is_file(APP_PATH . 'build.php')) { +if (APP_AUTO_BUILD && is_file(APP_PATH . 'build.php')) { Create::build(include APP_PATH . 'build.php'); } -Loader::addNamespace('tests',TEST_PATH); +Loader::addNamespace('tests', TEST_PATH); // 执行应用 !IN_UNIT_TEST && App::run();