fix:更新已知bug,优化代码
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user