mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
增加APP_MULTI_MODULE常量 用于设置是否多模块设计
This commit is contained in:
@@ -65,6 +65,7 @@ class Build
|
||||
// 创建模块
|
||||
protected static function buildModule($module, $list)
|
||||
{
|
||||
$module = APP_MULTI_MODULE ? $module : '';
|
||||
if (!is_dir(APP_PATH . $module)) {
|
||||
// 创建模块目录
|
||||
mkdir(APP_PATH . $module);
|
||||
|
||||
Reference in New Issue
Block a user