fixed few GH issues

- fixed GH #209: Poco::NumberFormatter double length
- fixed GH #204: Upgrade zlib to 1.2.8
- fixed GH #198: The "application.configDir" property is not always
created.
This commit is contained in:
Aleksandar Fabijanic
2013-06-03 23:45:06 -05:00
parent 418290d081
commit 4826523831
24 changed files with 280 additions and 163 deletions

View File

@@ -268,7 +268,10 @@ int Application::loadConfiguration(int priority)
#endif
if (n > 0)
{
_pConfig->setString("application.configDir", cfgPath.parent().toString());
if (!cfgPath.isAbsolute())
_pConfig->setString("application.configDir", cfgPath.absolute().parent().toString());
else
_pConfig->setString("application.configDir", cfgPath.parent().toString());
}
return n;
}