]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / bugs / use_of___36__topurl_in_cgitemplate.mdwn
1 In commits by Simon McVittie on Oct 5, 2014, the following was added to `cgitemplate()`:
3     b0a35c81 (Simon McVittie   2014-10-05  61)  my $topurl = $config{url};
4     3b8da667 (Simon McVittie   2014-10-05  62)  if (defined $cgi && ! $config{w3mmode} && ! $config{reverse_proxy}) {
5     b0a35c81 (Simon McVittie   2014-10-05  63)          $topurl = $cgi->url;
6     b0a35c81 (Simon McVittie   2014-10-05  64)  }
8 I am trying to determine what was intended by this change.  The variable `$topurl` is not used again in this function, so this is essentially dead code.
9 --[[blipvert]]