Acabat nou disseny de la barra de cerca
diff --git a/api.php b/api.php
index 26b655a..176fdfe 100644
--- a/api.php
+++ b/api.php
@@ -2,13 +2,13 @@
 require_once("config.php");
 
 class write {
-  public static function funct($json) {
+  public static function output($json) {
     print_r(json_encode($json));
     exit();
   }
 
   public static function error($n, $msg) {
-    self::funct(["error" => $n, "msg" => $msg]);
+    self::output(["error" => $n, "msg" => $msg]);
   }
 }