Compare commits

...

1 Commits

Author SHA1 Message Date
Bart
ce8567d740 fix: Restore config changes that broke standalone mode 2026-01-30 09:34:48 +00:00

View File

@@ -358,9 +358,11 @@ Config::setup(std::string const& strConf, bool bQuiet, bool bSilent, bool bStand
std::string const dbPath(legacy("database_path"));
if (!dbPath.empty())
dataDir = boost::filesystem::path(dbPath);
else if (RUN_STANDALONE)
dataDir.clear();
}
if (!RUN_STANDALONE)
if (!dataDir.empty())
{
boost::system::error_code ec;
boost::filesystem::create_directories(dataDir, ec);