fix:更新已知bug,优化代码

This commit is contained in:
Ying
2022-11-28 19:11:12 +08:00
parent f6aee95cfc
commit 9445b206a2
1378 changed files with 53759 additions and 20789 deletions

View File

@@ -13,7 +13,6 @@ class DataBase {
/**
* 导入目录下Install.sql文件
* @param string $sqlPath
* @return void
*/
public static function importSql(string $sqlPath)
{
@@ -28,8 +27,7 @@ class DataBase {
}
try {
Db::getPdo()->exec($line);
} catch (\Throwable $th) {
}
} catch (\Throwable $th) {}
}
}
}