fix broken example config file and detect this breakage
parent
2469114dc5
commit
958468b088
|
@ -19,6 +19,9 @@ sub gen_wrapper () { #{{{
|
||||||
error("cannot create a wrapper that uses a setup file");
|
error("cannot create a wrapper that uses a setup file");
|
||||||
}
|
}
|
||||||
my $wrapper=possibly_foolish_untaint($config{wrapper});
|
my $wrapper=possibly_foolish_untaint($config{wrapper});
|
||||||
|
if (! defined $wrapper || ! length $wrapper) {
|
||||||
|
error("wrapper filename not specified");
|
||||||
|
}
|
||||||
delete $config{wrapper};
|
delete $config{wrapper};
|
||||||
|
|
||||||
my @envsave;
|
my @envsave;
|
||||||
|
|
|
@ -34,11 +34,9 @@ use IkiWiki::Setup::Standard {
|
||||||
},
|
},
|
||||||
#{
|
#{
|
||||||
# # The cgi wrapper.
|
# # The cgi wrapper.
|
||||||
# cgiwrapper => {
|
|
||||||
# cgi => 1,
|
# cgi => 1,
|
||||||
# wrapper => "/var/www/wiki/ikiwiki.cgi",
|
# wrapper => "/var/www/wiki/ikiwiki.cgi",
|
||||||
# wrappermode => "06755",
|
# wrappermode => "06755",
|
||||||
# },
|
|
||||||
#},
|
#},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue