mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-17 18:39:07 +00:00
@@ -85,7 +85,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
||||
|
||||
try
|
||||
{
|
||||
string sqlFilePath = ModuleDirectory + "Database/database_setup.sql";
|
||||
string sqlFilePath = ModuleDirectory + "/Database/database_setup.sql";
|
||||
string sql = await File.ReadAllTextAsync(sqlFilePath);
|
||||
|
||||
await connection.QueryAsync(sql, transaction: transaction);
|
||||
|
||||
Reference in New Issue
Block a user