]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
If cgiurl is set, but url isn't, use an absolute $local_cgiurl
authorSimon McVittie <smcv@debian.org>
Tue, 23 Nov 2010 22:21:31 +0000 (22:21 +0000)
committerSimon McVittie <smcv@debian.org>
Tue, 23 Nov 2010 22:21:31 +0000 (22:21 +0000)
IkiWiki.pm

index ee0b1f1ea6f3ee4665857a317eb5e68e8acd61fe..140f7f740ce034100bcaec8478ba71dff83f56f1 100644 (file)
@@ -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};