Forgot one directory fix for logs.
This commit is contained in:
@@ -29,7 +29,7 @@ public class PacketLog
|
|||||||
|
|
||||||
static PacketLog()
|
static PacketLog()
|
||||||
{
|
{
|
||||||
string logsDir = ConfigMgr.GetDefaultValue("LogsDir", "");
|
string logsDir = AppContext.BaseDirectory + ConfigMgr.GetDefaultValue("LogsDir", "");
|
||||||
string logname = ConfigMgr.GetDefaultValue("PacketLogFile", "");
|
string logname = ConfigMgr.GetDefaultValue("PacketLogFile", "");
|
||||||
if (!string.IsNullOrEmpty(logname))
|
if (!string.IsNullOrEmpty(logname))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user