X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b144831e462e0d2ba8225f6e5f7d9138efb03c77..a28559798ad8c60e79fe80f109dd8e63204cd208:/IkiWiki/Plugin/pingee.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/pingee.pm b/IkiWiki/Plugin/pingee.pm index ee799a57a..c2f21b0cf 100644 --- a/IkiWiki/Plugin/pingee.pm +++ b/IkiWiki/Plugin/pingee.pm @@ -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;