From d01334b8e9c229895ecb6d0b0a7acda86515df71 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 23 Nov 2010 22:21:31 +0000 Subject: [PATCH] If cgiurl is set, but url isn't, use an absolute $local_cgiurl --- IkiWiki.pm | 3 +++ 1 file changed, 3 insertions(+) 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}; -- 2.39.5