X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/002a97ffcdf347b8ad97210ddb5badacd3fee712..c7bdebaaf134729356852918b387071c92f85e72:/IkiWiki/Plugin/search.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index ad3247f4b..f9193b6aa 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -34,7 +34,7 @@ sub getsetup () { rebuild => 0, }, google_search => { - type => "booblean", + type => "boolean", example => 1, description => "use google site search rather than internal xapian index?", safe => 1, @@ -188,7 +188,7 @@ sub cgi ($) { if (defined $cgi->param('P')) { if ($config{google_search}) { - print $cgi->redirect("https://www.google.com/search?sitesearch=$config{cgiurl}&q=".$cgi->param('P')); + print $cgi->redirect("https://www.google.com/search?sitesearch=$config{url}&q=".$cgi->param('P')); exit 0; } else {