-#!/usr/bin/perl -T
+#!/usr/bin/perl -T -CSD
$ENV{PATH}="/usr/local/bin:/usr/bin:/bin";
package IkiWiki;
"anonok!" => \$config{anonok},
"rss!" => \$config{rss},
"cgi!" => \$config{cgi},
+ "discussion!" => \$config{discussion},
"notify!" => \$config{notify},
- "sanitize!" => \$config{sanitize},
"url=s" => \$config{url},
"cgiurl=s" => \$config{cgiurl},
"historyurl=s" => \$config{historyurl},
},
"plugin=s@" => sub {
push @{$config{plugin}}, $_[1];
- }
+ },
+ "disable-plugin=s@" => sub {
+ $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}} ];
+ },
) || usage();
if (! $config{setup}) {
loadindex();
require IkiWiki::Render;
rcs_update();
- rcs_getctime() if $config{getctime};
refresh();
rcs_notify() if $config{notify};
saveindex();