mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
废除APP_AUTO_BUILD常量 系统不再判断是否需要自动生成 自动生成交给console执行 APP_AUTO_RUN默认值更改为true(start引导文件默认自动执行应用)
This commit is contained in:
@@ -45,11 +45,6 @@ if (APP_HOOK && isset($mode['tags'])) {
|
||||
Hook::import(is_array($mode['tags']) ? $mode['tags'] : include $mode['tags']);
|
||||
}
|
||||
|
||||
// 自动生成
|
||||
if (APP_AUTO_BUILD && is_file(APP_PATH . 'build.php')) {
|
||||
Build::run(include APP_PATH . 'build.php');
|
||||
}
|
||||
|
||||
// 是否自动运行
|
||||
if (APP_AUTO_RUN) {
|
||||
App::run();
|
||||
|
||||
Reference in New Issue
Block a user