]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki
load index for all cgi scripts, fixes links on RecentChanges
[git.ikiwiki.info.git] / ikiwiki
diff --git a/ikiwiki b/ikiwiki
index bd905a42688e65eaf5ecd3c91c58cea0bb63bb89..7b0a718d9aca941ccae0d21792eb0b9d97bcfa94 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -472,6 +472,7 @@ sub main () { #{{{
        }
        elsif ($config{cgi}) {
                lockwiki();
+               loadindex();
                require IkiWiki::CGI;
                cgi();
        }