X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7a1e12675ec5f1ea605d4de06a0b82079073fb20..7ea8df24b32a36687cfea94e2b84272777562325:/ikiwiki?ds=sidebyside 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}) {