summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm2
-rw-r--r--IkiWiki/Setup/Standard.pm8
2 files changed, 5 insertions, 5 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 8591731dc..eb01a4227 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -508,8 +508,6 @@ sub refresh () { #{{{
} #}}}
sub commandline_render () { #{{{
- loadplugins();
- checkconfig();
lockwiki();
loadindex();
unlockwiki();
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 87db648e0..fb542be20 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -63,11 +63,15 @@ sub setup_standard {
$config{$c}=undef;
}
}
+
+ loadplugins();
+ checkconfig();
if ($config{render}) {
commandline_render();
}
- elsif (! $config{refresh}) {
+
+ if (! $config{refresh}) {
$config{rebuild}=1;
debug(gettext("rebuilding wiki.."));
}
@@ -75,8 +79,6 @@ sub setup_standard {
debug(gettext("refreshing wiki.."));
}
- loadplugins();
- checkconfig();
lockwiki();
loadindex();
refresh();