projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c943b
)
fix undef issue
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 21 Aug 2007 19:51:05 +0000
(19:51 +0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 21 Aug 2007 19:51:05 +0000
(19:51 +0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index b70f511757dc2f88fc6b62260004bdea60f9555b..848f1dda8079494d639dac1fd7c1748c58e187cd 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-166,7
+166,7
@@
sub loadplugin ($) { #{{{
return if grep { $_ eq $plugin} @{$config{disable_plugins}};
- foreach my $dir (
possibly_foolish_untaint($config{libdir})
,
+ foreach my $dir (
defined $config{libdir} ? possibly_foolish_untaint($config{libdir}) : undef
,
"$installdir/lib/ikiwiki") {
if (defined $dir && -x "$dir/plugins/$plugin") {
require IkiWiki::Plugin::external;