]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/pinger.pm
disable pagecount here, sorta of excessive since the bug has been done
[git.ikiwiki.info.git] / IkiWiki / Plugin / pinger.pm
index 7b4dce5867534c702f220b3df6e792c91b3cbb61..c20ecb5d4ef3a663f5496135f56ddb5369c5dd87 100644 (file)
@@ -3,7 +3,7 @@ package IkiWiki::Plugin::pinger;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 
 my %pages;
 my $pinged=0;
 
 my %pages;
 my $pinged=0;
@@ -106,7 +106,7 @@ sub ping {
                        # will still be avoided.
                        next if $url=~/^\Q$config{cgiurl}\E/;
                        
                        # will still be avoided.
                        next if $url=~/^\Q$config{cgiurl}\E/;
                        
-                       $ua->head($url);
+                       $ua->get($url);
                }
                
                exit 0;
                }
                
                exit 0;