]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
toggle: Add javascript to top of page, not to end. This avoids flicker since closed...
[ikiwiki.git] / IkiWiki.pm
index a9debfb7dc86f3ba51be46a1f4ba011703017b54..d9b3dcdb473df66c4505a1b47e429febac493b63 100644 (file)
@@ -88,6 +88,7 @@ sub defaultconfig () { #{{{
        account_creation_password => "",
        prefix_directives => 0,
        hardlink => 0,
+       cgi_disable_uploads => 1,
 } #}}}
 
 sub checkconfig () { #{{{
@@ -547,7 +548,7 @@ sub urlto ($$) { #{{{
        my $from=shift;
 
        if (! length $to) {
-               return beautify_url(baseurl($from));
+               return beautify_url(baseurl($from)."index.$config{htmlext}");
        }
 
        if (! $destsources{$to}) {