mirror of
https://github.com/znc/znc.git
synced 2026-05-18 07:15:54 +02:00
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:
+2
-2
@@ -73,11 +73,11 @@ public:
|
||||
fPemFile.Close();
|
||||
}
|
||||
|
||||
WebSock.Redirect("/mods/cert/");
|
||||
WebSock.Redirect(GetWebPath());
|
||||
return true;
|
||||
} else if (sPageName == "delete") {
|
||||
CFile::Delete(PemFile());
|
||||
WebSock.Redirect("/mods/cert/");
|
||||
WebSock.Redirect(GetWebPath());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user