diff --git a/Template.h b/Template.h index acb403c1..d7a451fd 100644 --- a/Template.h +++ b/Template.h @@ -13,7 +13,6 @@ #include using std::ostream; -using std::cout; using std::endl; class CTemplate; @@ -154,8 +153,8 @@ public: void ClearPaths(); CString ResolvePath(const CString& sPath, const CString& sFilename); bool PrintString(CString& sRet); - bool Print(ostream& oOut = cout); - bool Print(const CString& sFileName, ostream& oOut = cout); + bool Print(ostream& oOut); + bool Print(const CString& sFileName, ostream& oOut); bool ValidIf(const CString& sArgs); bool ValidExpr(const CString& sExpr); bool IsTrue(const CString& sName); diff --git a/WebModules.cpp b/WebModules.cpp index 3e30d586..34a8814d 100644 --- a/WebModules.cpp +++ b/WebModules.cpp @@ -645,7 +645,6 @@ CWebSock::EPageReqResult CWebSock::OnPageRequestInternal(const CString& sURI, CS m_Template.AppendPath(GetSkinPath(GetSkinName()) + "/mods/" + m_sModName + "/files/"); m_Template.AppendPath(GetModWebPath(pModule) + "/files/"); - std::cerr << "===================== fffffffffffffffffffff [" << m_sModName << "] [" << m_sPage << "]" << std::endl; if (PrintFile(m_Template.ExpandFile(m_sPage.TrimLeft_n("/")))) { return PAGE_PRINT; } else {