projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea5bf9
)
check for 'require' instead of 'use'
author
Joey Hess
<joey@gnu.kitenet.net>
Sun, 21 Mar 2010 18:52:21 +0000
(14:52 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sun, 21 Mar 2010 18:52:21 +0000
(14:52 -0400)
IkiWiki/Setup.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Setup.pm
b/IkiWiki/Setup.pm
index 2cf01ea684e634da1b8bb4e0254256ca3507e59c..06102058b1e77a64249ed88a4eaa3d9782069043 100644
(file)
--- a/
IkiWiki/Setup.pm
+++ b/
IkiWiki/Setup.pm
@@
-28,7
+28,7
@@
sub load ($;$) {
}
close IN;
- if ($content=~/(
use
\s+)?IkiWiki::Setup::(\w+)/) {
+ if ($content=~/(
(?:use|require)
\s+)?IkiWiki::Setup::(\w+)/) {
$config{setuptype}=$2;
if ($1) {
error sprintf(gettext("cannot load %s in safe mode"), $file)