mirror of
https://github.com/znc/znc.git
synced 2026-08-10 02:43:05 +02:00
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:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user