return accidentally removed code

This commit is contained in:
Anton Popov 2021-09-02 02:46:23 +03:00
parent 5e421ab272
commit 18dd1345fa

View File

@ -768,6 +768,12 @@ if (ThreadFuzzer::instance().isEffective())
fs::create_directories(dictionaries_lib_path); fs::create_directories(dictionaries_lib_path);
} }
{
std::string user_scripts_path = config().getString("user_scripts_path", path / "user_scripts/");
global_context->setUserScriptsPath(user_scripts_path);
fs::create_directories(user_scripts_path);
}
/// top_level_domains_lists /// top_level_domains_lists
{ {
const std::string & top_level_domains_path = config().getString("top_level_domains_path", path / "top_level_domains/"); const std::string & top_level_domains_path = config().getString("top_level_domains_path", path / "top_level_domains/");