From d4944bd9ca84299cbe193c53c56da31bb4f83657 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 7 Apr 2013 14:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=AF=BC=E6=96=87=E4=BB=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E8=87=AA=E5=8A=A8=E5=88=9B=E5=BB=BA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start.php b/start.php index 14ef6f53..9a1aff30 100644 --- a/start.php +++ b/start.php @@ -52,6 +52,8 @@ Tag::add('view_template','LocationTemplate','Think'); if(!IS_CLI) { Session::init(['prefix'=>'think','auto_start'=>true]); } - +if(is_file(APP_PATH.'build.php')) { // 自动化创建脚本 + Create::build(include APP_PATH.'build.php'); +} // 执行应用 App::run(); \ No newline at end of file