mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 14:56:04 +00:00
fix reading and defaulting the IncludeSubdirectories config option
This commit is contained in:
@@ -35,6 +35,7 @@ Application::SettingsMap Application::mSettings = {
|
||||
{ StrHTTPServerUseSSL, false },
|
||||
{ StrHideUpdateMessages, false },
|
||||
{ StrAuthKey, std::string("") },
|
||||
{ StrIncludeSubdirectories, false },
|
||||
};
|
||||
|
||||
// global, yes, this is ugly, no, it cant be done another way
|
||||
|
||||
@@ -160,6 +160,7 @@ void TConfig::ParseFromFile(std::string_view name) {
|
||||
TryReadValue(data, "Misc", StrSendErrors);
|
||||
TryReadValue(data, "Misc", StrHideUpdateMessages);
|
||||
TryReadValue(data, "Misc", StrSendErrorsMessageEnabled);
|
||||
TryReadValue(data, "Misc", StrIncludeSubdirectories);
|
||||
// HTTP
|
||||
TryReadValue(data, "HTTP", StrSSLKeyPath);
|
||||
TryReadValue(data, "HTTP", StrSSLCertPath);
|
||||
|
||||
Reference in New Issue
Block a user