Add methods to CModule to get the web path

Add these values to the template and use them when linking to any module
This commit is contained in:
Kyle Fuller
2012-02-09 16:55:58 +00:00
parent b1593238d5
commit b1ed9c9b74
14 changed files with 46 additions and 21 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ public:
virtual bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) {
if (sPageName != "index") {
// only accept requests to /mods/perform/
// only accept requests to index
return false;
}