Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a comment: It was an Apache problem...
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
pingee.pm
diff --git
a/IkiWiki/Plugin/pingee.pm
b/IkiWiki/Plugin/pingee.pm
index c2f21b0cfaf93cabfb562009b5db53260b8dbadf..f5386d0cae4ccb638913c9d6a7ac9a8e2a3d94af 100644
(file)
--- a/
IkiWiki/Plugin/pingee.pm
+++ b/
IkiWiki/Plugin/pingee.pm
@@
-3,22
+3,22
@@
package IkiWiki::Plugin::pingee;
use warnings;
use strict;
use warnings;
use strict;
-use IkiWiki
2
.00;
+use IkiWiki
3
.00;
-sub import {
#{{{
+sub import {
hook(type => "getsetup", id => "pingee", call => \&getsetup);
hook(type => "cgi", id => "pingee", call => \&cgi);
hook(type => "getsetup", id => "pingee", call => \&getsetup);
hook(type => "cgi", id => "pingee", call => \&cgi);
-}
# }}}
+}
-sub getsetup () {
#{{{
+sub getsetup () {
return
plugin => {
safe => 1,
rebuild => undef,
},
return
plugin => {
safe => 1,
rebuild => undef,
},
-}
#}}}
+}
-sub cgi ($) {
#{{{
+sub cgi ($) {
my $cgi=shift;
if (defined $cgi->param('do') && $cgi->param("do") eq "ping") {
my $cgi=shift;
if (defined $cgi->param('do') && $cgi->param("do") eq "ping") {
@@
-37,6
+37,6
@@
sub cgi ($) { #{{{
IkiWiki::saveindex();
exit 0;
}
IkiWiki::saveindex();
exit 0;
}
-}
#}}}
+}
1
1