diff options
author | Simon McVittie <smcv@debian.org> | 2010-11-23 22:21:31 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-11-23 22:21:31 +0000 |
commit | d01334b8e9c229895ecb6d0b0a7acda86515df71 (patch) | |
tree | c520985aa37bbd8d675f3156254848a82e31e9bb | |
parent | 4625e0c4d9bfa03921ef088cf4197d2ab183889d (diff) |
If cgiurl is set, but url isn't, use an absolute $local_cgiurl
-rw-r--r-- | IkiWiki.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index ee0b1f1ea..140f7f740 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -566,6 +566,9 @@ sub checkconfig () { $local_url =~ s{//$}{/}; } + else { + $local_cgiurl = $config{cgiurl}; + } $config{wikistatedir}="$config{srcdir}/.ikiwiki" unless exists $config{wikistatedir} && defined $config{wikistatedir}; |