rebuild => 0,
},
google_search => {
- type => "booblean",
+ type => "boolean",
example => 1,
description => "use google site search rather than internal xapian index?",
safe => 1,
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 {