]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/search.pm
* Fix CamelCase regexp to not break [[FooBar|BazBar]] WikiLinks.
[git.ikiwiki.info.git] / IkiWiki / Plugin / search.pm
index c94974ac4b608bfbf122f4455a0fe3fc0fcc71a6..94b37ca06ef034ea93445da6f27a21ef033ef127 100644 (file)
@@ -87,9 +87,7 @@ sub estcfg () { #{{{
        close TEMPLATE;
        open(TEMPLATE, ">$estdir/$cgi.conf") ||
                error("write $estdir/$cgi.conf: $!");
        close TEMPLATE;
        open(TEMPLATE, ">$estdir/$cgi.conf") ||
                error("write $estdir/$cgi.conf: $!");
-       my $template=HTML::Template->new(
-               filename => "$config{templatedir}/estseek.conf"
-       );
+       my $template=template("estseek.conf");
        eval q{use Cwd 'abs_path'};
        $template->param(
                index => $estdir,
        eval q{use Cwd 'abs_path'};
        $template->param(
                index => $estdir,