From 96b395705a97de3c481f223804a818816947353f Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 15 Sep 2006 03:15:34 +0000 Subject: * Fix a baseurl problem in hyperestradier search results. --- IkiWiki/Plugin/search.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 75004b201..4ae9d7283 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -82,7 +82,8 @@ sub estcfg () { #{{{ open(TEMPLATE, ">$estdir/$cgi.tmpl") || error("write $estdir/$cgi.tmpl: $!"); print TEMPLATE IkiWiki::misctemplate("search", - "\n\n\n\n\n\n"); + "\n\n\n\n\n\n", + baseurl => IkiWiki::dirname($config{cgiurl})."/"); close TEMPLATE; open(TEMPLATE, ">$estdir/$cgi.conf") || error("write $estdir/$cgi.conf: $!"); -- cgit v1.2.3