Made home dir optional in CDir::ChangeDir() and have it default to CZNC::Get().GetHomePath()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1536 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2009-06-09 00:25:20 +00:00
parent 2206e19ad2
commit 00613bc90f
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ public:
CFile::EFileAttr GetSortAttr() { return m_eSortAttr; }
bool IsDescending() { return m_bDesc; }
static CString ChangeDir(const CString& sPath, const CString& sAdd, const CString& sHomeDir);
static CString ChangeDir(const CString& sPath, const CString& sAdd, const CString& sHomeDir = "");
static bool MakeDir(const CString& sPath, mode_t iMode = 0700);
static CString GetCWD() {