projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4625e0c
)
If cgiurl is set, but url isn't, use an absolute $local_cgiurl
author
Simon McVittie
<smcv@debian.org>
Tue, 23 Nov 2010 22:21:31 +0000
(22:21 +0000)
committer
Simon McVittie
<smcv@debian.org>
Tue, 23 Nov 2010 22:21:31 +0000
(22:21 +0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index ee0b1f1ea6f3ee4665857a317eb5e68e8acd61fe..140f7f740ce034100bcaec8478ba71dff83f56f1 100644
(file)
--- 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};