mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
Fixed a bug introduced in r1740 where template files weren't being found
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1741 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -175,7 +175,7 @@ void CTemplate::ClearPaths() {
|
||||
|
||||
bool CTemplate::SetFile(const CString& sFileName) {
|
||||
m_sFileName = ExpandFile(sFileName, false);
|
||||
//PrependPath(sFileName + "/..");
|
||||
PrependPath(sFileName + "/..");
|
||||
|
||||
if (sFileName.empty()) {
|
||||
DEBUG("CTemplate::SetFile() - Filename is empty");
|
||||
|
||||
Reference in New Issue
Block a user