diff options
author | Joey Hess <joey@kitenet.net> | 2011-02-21 14:57:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-02-21 14:57:15 -0400 |
commit | 04498cdeb486a518ef9ed2464cb95f734b48c6bd (patch) | |
tree | afecc4d4ed648404f13b6c6f941f00dd57c72baf /IkiWiki | |
parent | 4524853fa741b0c164211a38d95c549062b3c3f1 (diff) |
Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in 3.20101231.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index f8617bfc6..cb4f395a0 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -79,7 +79,7 @@ sub cgitemplate ($$$;@) { title => $title, wikiname => $config{wikiname}, content => $content, - baseurl => urlabs(urlto(""), $topurl), + baseurl => urlabs(baseurl(), $topurl), html5 => $config{html5}, %params, ); |