X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7a1e12675ec5f1ea605d4de06a0b82079073fb20..c1160151d354b7f46cafcf0e5e10402322d44e58:/ikiwiki diff --git a/ikiwiki b/ikiwiki index 61b66374d..099a821b7 100755 --- a/ikiwiki +++ b/ikiwiki @@ -1,4 +1,4 @@ -#!/usr/bin/perl -T -CSD +#!/usr/bin/perl -T $ENV{PATH}="/usr/local/bin:/usr/bin:/bin"; package IkiWiki; @@ -57,8 +57,11 @@ sub getconfig () { #{{{ push @{$config{plugin}}, $_[1]; }, "disable-plugin=s@" => sub { - $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}} ]; + $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}}]; }, + "pingurl" => sub { + push @{$config{pingurl}}, $_[1]; + } ) || usage(); if (! $config{setup}) {