chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | YwxApp [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: ywxapp<admin@ywxapp.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
'multi_app' => true, // 启用多应用模式
|
||||
'priority' => ['addon', 'app'], // 模块查找优先级
|
||||
'auto_prefix' => true, // 自动添加插件名前缀
|
||||
'route_cache' => true, // 路由缓存
|
||||
|
||||
|
||||
'addon_path' => root_path() . 'addon' . DIRECTORY_SEPARATOR,
|
||||
'temp_path' => runtime_path() . 'temp' . DIRECTORY_SEPARATOR,
|
||||
'allowed_extensions' => ['zip', 'tpplugin'],
|
||||
'max_size' => 10 * 1024 * 1024, // 10MB
|
||||
'addon_file' => 'addon.php', // 插件描述文件
|
||||
];
|
||||
Reference in New Issue
Block a user