2 # Standard ikiwiki setup module.
3 # Parameters to import should be all the standard ikiwiki config stuff,
4 # plus hashes for cgiwrapper and svnwrapper, which specify any differing
5 # config stuff for them and cause the wrappers to be made.
7 package IkiWiki::Setup::Standard;
16 ::debug("generating wrappers..");
17 foreach my $wrapper (@{$setup{wrapper}}) {
18 ::gen_wrapper(%::config, %setup, %{$wrapper});
21 ::debug("rebuilding wiki..");
22 foreach my $c (keys %setup) {
23 $::config{$c}=::possibly_foolish_untaint($setup{$c})
24 if defined $setup{$c} && ! ref $setup{$c};