]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/404.pm
rename postvote to postlink
[git.ikiwiki.info.git] / IkiWiki / Plugin / 404.pm
index 85486e559b0cdfa907d3000ed8f64a3a281d2d69..42cfa9e8aad04fc69b050df92b38a18905a33495 100644 (file)
@@ -10,6 +10,7 @@ use IkiWiki 3.00;
 
 sub import {
        hook(type => "cgi", id => '404',  call => \&cgi);
+       hook(type => "getsetup", id => '404',  call => \&getsetup);
        IkiWiki::loadplugin("goto");
 }
 
@@ -21,6 +22,7 @@ sub getsetup () {
                        # server admin action too
                        safe => 0,
                        rebuild => 0,
+                       section => "web",
                }
 }