aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/search_plugin_uses_wrong_css_path.mdwn
blob: 688d51ee6fc172b15f5ace53b147742fa205ef4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
The search result page uses a wrong path for the css files.

This is, because the search plugin provides $config{cgiurl} as
basepath to the misc template. And so the path to the css 
files ends up to be "$config{cgiurl}/local.css". But this is
wrong if $config{cgiurl} is not the same as $config{url}.

Maybe misctemplate() and misc.tmpl should use an additional
variable which points always to the base of the wiki.

e.g. use "wikibase" for css and favicon and "baseurl" for the <base> tag.

> thanks for pointing this bug out, I've fixed it --[[Joey]].
[[!tag done]]