summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 21:29:56 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 21:29:56 +0000
commit7ea8df24b32a36687cfea94e2b84272777562325 (patch)
treec30bb00a324877fe4c2764d69f5e4af51385e17f /ikiwiki
parent929b9de9c2b0f3ed1a0c9e006d084519bd5e0479 (diff)
* Introduce add_plugins and disable_plugins config options in setup files.
This allows adding or removing plugins w/o overriding the whole list of default plugins, which makes it easier to upgrade when new default plugins are added.
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index f32eb4879..099a821b7 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -57,7 +57,7 @@ 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];