diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 07:55:36 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 07:55:36 +0000 |
commit | 5230f4e50b5a21f1fca2edd89c981e944cdf05a0 (patch) | |
tree | 68966b5937067031d3121919673a557a7e988b6b | |
parent | e3b9e716d093497c1748f92f333f00a47a4272fa (diff) |
slightly better latout
-rwxr-xr-x | ikiwiki | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -429,20 +429,18 @@ sub main () { #{{{ require IkiWiki::Setup; setup(); } - - lockwiki(); - - if ($config{wrapper}) { + elsif ($config{wrapper}) { + lockwiki(); require IkiWiki::Wrapper; gen_wrapper(); - exit; } - - if ($config{cgi}) { + elsif ($config{cgi}) { + lockwiki(); require IkiWiki::CGI; cgi(); } else { + lockwiki(); loadindex() unless $config{rebuild}; require IkiWiki::Render; rcs_update(); |