]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup/Standard.pm
Configure CGI.pm to disable file uploads by default.
[ikiwiki.git] / IkiWiki / Setup / Standard.pm
index fb542be20d80dcca05ac7560b35c17e1932f3b32..0a34968855a2cd26ac4609d27b73b2d0e440ea76 100644 (file)
@@ -64,6 +64,10 @@ sub setup_standard {
                }
        }
        
+       if (! $config{refresh}) {
+               $config{rebuild}=1;
+       }
+       
        loadplugins();
        checkconfig();
 
@@ -72,7 +76,6 @@ sub setup_standard {
        }
 
        if (! $config{refresh}) {
-               $config{rebuild}=1;
                debug(gettext("rebuilding wiki.."));
        }
        else {