diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 14:37:25 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 14:38:58 -0400 |
commit | 1ba84c3a6b8b0a614e50b63f70d31090a7ee23de (patch) | |
tree | 9337bde2da15819bc93492e21351756f399ab912 | |
parent | c2507d33cb684f62c29b8ec41a8a2aedf02a7302 (diff) |
predefine pingurl
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 3ca4fccdf..4d96001ed 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -28,7 +28,6 @@ sub import { #{{{ # pings interrupting page builds. hook(type => "change", id => "inline", call => \&IkiWiki::pingurl); - } # }}} sub getopt () { #{{{ @@ -96,6 +95,9 @@ sub checkconfig () { #{{{ if ($config{atom}) { push @{$config{wiki_file_prune_regexps}}, qr/\.atom$/; } + if (! exists $config{pingurl}) { + $config{pingurl}=[]; + } } #}}} sub format (@) { #{{{ |