projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* copy daves great handler script and modify it to fit the simpler needs of webcit.
[citadel.git]
/
webcit
/
wiki.c
diff --git
a/webcit/wiki.c
b/webcit/wiki.c
index 6efa604710b52f815d6c313a90cc4cade5ad6152..7a9a66c9d9491b5a4422e7e4f972c3e39e9a7f70 100644
(file)
--- a/
webcit/wiki.c
+++ b/
webcit/wiki.c
@@
-97,3
+97,11
@@
void display_wiki_page(void)
wprintf("</td></tr></table></div>\n");
wDumpContent(1);
}
+
+void
+InitModule_WIKI
+(void)
+{
+ WebcitAddUrlHandler(HKEY("wiki"), display_wiki_page, 0);
+ return ;
+}