diff options
author | callum_linden <none@none> | 2015-10-22 13:24:43 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2015-10-22 13:24:43 -0700 |
commit | 16cd296e30e95fbacefff4e291fbdd6fbf0c2c43 (patch) | |
tree | e58d930e55c77735337ea3332a3c65385702780d /indra/media_plugins | |
parent | 8c74ed2a58f5443b931374489b04ba80fb11a590 (diff) |
MAINT-5775 FIX Split out cookies and cache directories into separate folders and move cache to same place as viewer cache
Diffstat (limited to 'indra/media_plugins')
-rw-r--r-- | indra/media_plugins/cef/media_plugin_cef.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp index 5b08807619..bb2270181e 100644 --- a/indra/media_plugins/cef/media_plugin_cef.cpp +++ b/indra/media_plugins/cef/media_plugin_cef.cpp @@ -432,9 +432,10 @@ void MediaPluginCEF::receiveMessage(const char* message_string) } else if (message_name == "set_user_data_path") { - std::string user_data_path = message_in.getValue("path"); // n.b. always has trailing platform-specific dir-delimiter - mCachePath = user_data_path + "cef_cache"; - mCookiePath = user_data_path + "cef_cookies"; + std::string user_data_path_cache = message_in.getValue("cache_path"); + std::string user_data_path_cookies = message_in.getValue("cookies_path"); + mCachePath = user_data_path_cache + "cef_cache"; + mCookiePath = user_data_path_cookies + "cef_cookies"; } else if (message_name == "size_change") { |