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:
Aleksandar Fabijanic
2013-03-24 00:18:35 -05:00
parent 3abf1cc73c
commit 4c593dba7a
7 changed files with 42 additions and 20 deletions

View File

@@ -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