summaryrefslogtreecommitdiff
path: root/src/configmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r--src/configmanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index 13f917d1e..0de200d00 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -78,7 +78,9 @@ void ConfigManager::initServerConfig(const std::string &serverName)
if (configFile != nullptr)
{
fclose(configFile);
- serverConfig.init(configPath);
+ serverConfig.init(configPath,
+ UseVirtFs_false,
+ SkipError_false);
setConfigDefaults(serverConfig);
logger->log("serverConfigPath: " + configPath);
}
@@ -163,7 +165,9 @@ void ConfigManager::initConfiguration()
else
{
fclose(configFile);
- config.init(configPath);
+ config.init(configPath,
+ UseVirtFs_false,
+ SkipError_false);
logger->log1("init 3");
setConfigDefaults(config);
setConfigDefaults(serverConfig);