another sub, wow
[ikiwiki.git] / IkiWiki / Setup / Standard.pm
index 4a49895da6bd176934ffea7a515499cca50d57ea..56ed5ab3b553e7f17b3b257cc82ee94049821770 100644 (file)
@@ -7,6 +7,7 @@
 use warnings;
 use strict;
 use IkiWiki::Wrapper;
+use IkiWiki::Render;
 
 package IkiWiki::Setup::Standard;
 
@@ -23,7 +24,7 @@ sub setup_standard {
        my %startconfig=(%config);
        foreach my $wrapper (@{$setup{wrappers}}) {
                %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
-               checkoptions();
+               checkconfig();
                gen_wrapper();
        }
        %config=(%startconfig);
@@ -34,7 +35,9 @@ sub setup_standard {
                        if defined $setup{$c} && ! ref $setup{$c};
        }
        $config{rebuild}=1;
-       checkoptions();
+
+       checkconfig();
+       lockwiki();
        refresh();
 
        debug("done");