diff --git a/start.php b/start.php index a37e73d0..0f837ba3 100644 --- a/start.php +++ b/start.php @@ -46,3 +46,6 @@ if (APP_HOOK && isset($mode['tags'])) { if ('sae' != APP_MODE && is_file(APP_PATH . 'build.php')) { Create::build(include APP_PATH . 'build.php'); } + +// 执行应用 +(!defined('IN_UNIT_TEST') || !IN_UNIT_TEST) && App::run(Config::get()); \ No newline at end of file