amon fixes
amon fixes

--- a/lib/common.inc.php
+++ b/lib/common.inc.php
@@ -14,7 +14,7 @@
 if (strstr($_SERVER['PHP_SELF'], "labs/")) {

     $basePath = "../";

 }

-require $basePath."/lib/amon-php/amon.php";

+require $basePath."lib/amon-php/amon.php";

 Amon::config(array('address'=> 'http://127.0.0.1:2465', 

 		'protocol' => 'http', 

 		'secret_key' => "g99127n3lkzigg8ob2rllth97d1pb4sj"));


--- a/search_autosuggest.php
+++ b/search_autosuggest.php
@@ -47,7 +47,7 @@
         );
     }
         $query = "SELECT \"CNID\", description, value FROM contractnotice
-WHERE to_tsvector('english', description) @@ plaintoto_tsquery('english', :input)";
+WHERE to_tsvector('english', description) @@ plainto_tsquery('english', :input)";
     $query = $conn->prepare($query);
     $agencyName = $input . '%';
     $query->bindParam(":input", $input);
@@ -84,3 +84,4 @@
     echo "</results>";
 }
 ?>
+