commit | e9f4765257b85d3f199102709e26e51d32874458 | [log] [tgz] |
---|---|---|
author | Huguet57 <andreuhuguet@gmail.com> | Mon Jul 23 03:28:12 2018 +0200 |
committer | GitHub <noreply@github.com> | Mon Jul 23 03:28:12 2018 +0200 |
tree | 31439a29c86c556af23d1b68ff9af7fa2ad1086f | |
parent | abd9f26fe28e9f0c670090720b5561099ccf2ab3 [diff] [blame] |
Search Bar - Beta
diff --git a/api.php b/api.php index fc1b6af..756ee48 100644 --- a/api.php +++ b/api.php
@@ -2,13 +2,13 @@ require_once("config.php"); class write { - public static function do($json) { + public static function funct($json) { print_r(json_encode($json)); exit(); } public static function error($n, $msg) { - self::do(["error" => $n, "msg" => $msg]); + self::funct(["error" => $n, "msg" => $msg]); } }