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.
12 package IkiWiki::Setup::Standard;
15 IkiWiki::setup_standard(@_);
23 debug("generating wrappers..");
24 my %startconfig=(%config);
25 foreach my $wrapper (@{$setup{wrappers}}) {
26 %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
30 %config=(%startconfig);
32 debug("rebuilding wiki..");
33 foreach my $c (keys %setup) {
34 $config{$c}=possibly_foolish_untaint($setup{$c})
35 if defined $setup{$c} && ! ref $setup{$c};