load/save index when rendering a page in cgi mode for svn-less wikis

master
joey 2006-03-14 05:37:34 +00:00
parent 7144eb3973
commit c768f9a2e9
2 changed files with 2 additions and 2 deletions

View File

@ -20,5 +20,3 @@
replaced with a link to the [[CGI]]?
* [[ikiwiki]] should go to the same place as [[index]] (on this wiki).
* There's no way to escape a [[WikiLink]] when discussing one on a wiki.
* Seems to be losing track of just-created pages and not adding them to the
index.

View File

@ -1096,7 +1096,9 @@ sub cgi_editpage ($$) { #{{{
rcs_commit($message);
}
else {
loadindex();
refresh();
saveindex();
}
# The trailing question mark tries to avoid broken