]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/pingee.pm
Merge branch 'master' into pub/master
[git.ikiwiki.info.git] / IkiWiki / Plugin / pingee.pm
index ee799a57a119b9e079cfc13f81b92b48317a5dc0..c2f21b0cfaf93cabfb562009b5db53260b8dbadf 100644 (file)
@@ -6,9 +6,18 @@ use strict;
 use IkiWiki 2.00;
 
 sub import { #{{{
-       hook(type => "cgi", id => "aggregate", call => \&cgi);
+       hook(type => "getsetup", id => "pingee", call => \&getsetup);
+       hook(type => "cgi", id => "pingee", call => \&cgi);
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub cgi ($) { #{{{
        my $cgi=shift;