diff --git a/ApplicationCore.cpp b/ApplicationCore.cpp index 66c9411..7eef255 100644 --- a/ApplicationCore.cpp +++ b/ApplicationCore.cpp @@ -149,7 +149,7 @@ bool CApplication::LoadConfig() } // Load Application Definition - if (!(DefinitionFile = (char*)Config->GetChStr( "DefinitionFile" ))) { + if (!(DefinitionFile = (char*)Config->GetChStr( "Application/Definition" ))) { if (Log) Log->Message( dlLow, dlLow, "%s: No Application Definition file specified", ProcessName ); return false; } @@ -163,7 +163,7 @@ bool CApplication::LoadConfig() } // Load Address List - if (!(AddressFile = (char*)Config->GetChStr( "AddressFile" ))) { + if (!(AddressFile = (char*)Config->GetChStr( "Application/AddressList" ))) { if (Log) Log->Message( dlLow, dlLow, "%s: No Address List file specified", ProcessName ); } else if (!JSONparser->ReadFromFile( "AddressList", AddressFile )) {