fix: 移除 bootstrap.php 中对已删除文件的加载

- 移除对自定义 Db.php 和 Model.php 的加载
- 这些文件已删除,使用 Webman 官方 support\Db 和 support\Model

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-02-25 23:05:15 +08:00
parent 358a222c24
commit 27ad5728c9
-7
View File
@@ -74,13 +74,6 @@ foreach (config('plugin', []) as $firm => $projects) {
}
}
// 加载数据库类
include_once __DIR__ . '/Db.php';
include_once __DIR__ . '/Model.php';
// 初始化数据库
Db::init();
Middleware::load(config('middleware', []));
foreach (config('plugin', []) as $firm => $projects) {
foreach ($projects as $name => $project) {