mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
GH #134: Fixed problem in Util::Application with xml or inifile no config
GH #134: Fixed problem in Util::Application with xml or inifile no config
This commit is contained in:
@@ -284,7 +284,7 @@ void Application::loadConfiguration(const std::string& path, int priority)
|
||||
else if (icompare(ext, "ini") == 0)
|
||||
_pConfig->add(new IniFileConfiguration(confPath.toString()), priority, false, false);
|
||||
#endif
|
||||
#ifndef POCO_UTIL_NO_JSONONFIGURATION
|
||||
#ifndef POCO_UTIL_NO_JSONCONFIGURATION
|
||||
else if (icompare(ext, "json") == 0)
|
||||
_pConfig->add(new JSONConfiguration(confPath.toString()), priority, false, false);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user