Config::read_config()
try
{
+ std::cout << "=> Config::read_config()\n";
+ std::cout << "config_read_file()=" << config_read_file() << "\n";
cxml::Document f ("Config");
f.read_file(config_read_file());
+ std::cout << "back from read_file\n";
auto version = f.optional_number_child<int> ("Version");
if (version && *version < _current_version) {
cxml::Document f ("Config");
if (!dcp::filesystem::exists(main)) {
/* It doesn't exist, so there can't be any links; just return it */
+ std::cout << main << " doesn't exist.\n";
return main;
}
auto full = config_path_or_override(i) / file;
if (dcp::filesystem::exists(full)) {
return full;
+ } else {
+ std::cout << full << " does not exist.\n";
}
}