mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
improved error message in webui: show full path of file if read failed
This commit is contained in:
parent
9897def2cc
commit
ff9bf71aa8
4 changed files with 42 additions and 7 deletions
|
@ -132,7 +132,13 @@ namespace RsAccounts
|
|||
{
|
||||
// Directories.
|
||||
std::string ConfigDirectory(); // aka Base Directory. (normally ~/.retroshare)
|
||||
std::string DataDirectory(); // you can call this method even before initialisation (you can't with the other methods)
|
||||
/**
|
||||
* @brief DataDirectory
|
||||
* you can call this method even before initialisation (you can't with the other methods)
|
||||
* @param check if set to true and directory does not exist, return empty string
|
||||
* @return path where global platform independent files are stored, like bdboot.txt or webinterface files
|
||||
*/
|
||||
std::string DataDirectory(bool check = true);
|
||||
std::string PGPDirectory();
|
||||
std::string AccountDirectory();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue