X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ba0d82e7ea655b47683097f142e73fd29b684f47..ed75653e4d1ebc9827601ab3649e1422f45ef338:/IkiWiki/Plugin/search.pm?ds=inline diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 61e9214e6..9bf223cf0 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -4,7 +4,7 @@ package IkiWiki::Plugin::search; use warnings; use strict; -use IkiWiki; +use IkiWiki 2.00; sub import { #{{{ hook(type => "getopt", id => "hyperestraier", @@ -96,7 +96,7 @@ sub estcfg () { #{{{ open(TEMPLATE, ">:utf8", $newfile) || error("open $newfile: $!", $cleanup); print TEMPLATE IkiWiki::misctemplate("search", "\n\n\n\n\n\n", - baseurl => IkiWiki::dirname($config{cgiurl})."/") || + forcebaseurl => IkiWiki::dirname($config{cgiurl})."/") || error("write $newfile: $!", $cleanup); close TEMPLATE || error("save $newfile: $!", $cleanup); rename($newfile, "$estdir/$cgi.tmpl") ||