amon key
amon key

--- a/displaySupplier.php
+++ b/displaySupplier.php
@@ -26,7 +26,7 @@
     FROM contractnotice WHERE ' .
             $supplierQ . ' ' . $standardQ
             . ' ORDER BY value DESC';
-    echo $query;
+    
     $query = $conn->prepare($query);
 
 

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

     $basePath = "../";

 }

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

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

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

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

 		'protocol' => 'http', 

-		'secret_key' => "g99127n3lkzigg8ob2rllth97d1pb4sj"));

+		'secret_key' => "JBcSUdFOi5lK0vCjLjbHDpQamcBnRA4iV7QLaTADeDQ"));

 Amon::setup_exception_handler();

 

 require ROOT . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'openid.php';


--- 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>";
 }
 ?>
+