Menu

#14 Default profile loading

v0.9.2
open
nobody
None
5
2017-12-04
2017-12-04
No

Hello Matteo,

I would like to ask that the following snippled in the profileManager.cpp around the line 117 is intentional?

void ProfileManager::init_profiles (const std::string& profilename)
{
std::list<std::string> profiles;</std::string>

{
    // load default profile values
    DefaultProfile default_profile ("");
default_profile.read_into_configuration (config);
}


// system etc directory

This makes the presage always load the compiled in XML file and the users are not able to use customized presage.xml file.

If it is just a mistake I can came up with a PR.
Thanks in advance!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB