diff options
-rw-r--r-- | IkiWiki.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 989f3bee7..41e9e3f82 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1039,7 +1039,8 @@ sub linkpage ($) { sub cgiurl (@) { my %params=@_; - my $cgiurl=$config{cgiurl}; + my $cgiurl=$local_cgiurl; + if (exists $params{cgiurl}) { $cgiurl=$params{cgiurl}; delete $params{cgiurl}; |