File tree Expand file tree Collapse file tree 14 files changed +19
-35
lines changed
Expand file tree Collapse file tree 14 files changed +19
-35
lines changed Original file line number Diff line number Diff line change 66 * Database Web API Client.
77 *
88 * @author Marco Cesarato <cesarato.developer@gmail.com>
9- * @copyright Copyright (c) 2019
109 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
1110 *
1211 * @see https://github.com/marcocesarato/Database-Web-API
Original file line number Diff line number Diff line change 33 * Config.
44 *
55 * @author Marco Cesarato <cesarato.developer@gmail.com>
6- * @copyright Copyright (c) 2019
76 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
87 *
98 * @see https://github.com/marcocesarato/Database-Web-API
Original file line number Diff line number Diff line change 22
33$ docs = [
44 'dataset ' => [
5- /**
6- * @example
7- * "example" => [
8- * "id" => [
9- * "description" => "Row identification",
10- * "example" => "1",
11- * ],
12- * "guid" => [
13- * "description" => "Standard row identification GUID",
14- * "example" => "cc7c0e6f-2662-8451-1e70-5c61496c3f5f",
15- * ],
16- * ],
17- */
5+ /**
6+ * @example
7+ * "example" => [
8+ * "id" => [
9+ * "description" => "Row identification",
10+ * "example" => "1",
11+ * ],
12+ * "guid" => [
13+ * "description" => "Standard row identification GUID",
14+ * "example" => "cc7c0e6f-2662-8451-1e70-5c61496c3f5f",
15+ * ],
16+ * ],
17+ */
1818 ],
1919];
Original file line number Diff line number Diff line change 99 * Authentication Class.
1010 *
1111 * @author Marco Cesarato <cesarato.developer@gmail.com>
12- * @copyright Copyright (c) 2019
1312 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
1413 *
1514 * @see https://github.com/marcocesarato/Database-Web-API
@@ -174,7 +173,7 @@ public function validate($query)
174173 ],
175174 ];
176175 $ results = $ this ->hooks ->apply_filters ('auth_login ' , $ results );
177- die ($ this ->api ->render ($ results ));
176+ exit ($ this ->api ->render ($ results ));
178177 }
179178 }
180179 Response::error ('Invalid authentication! ' , 401 );
Original file line number Diff line number Diff line change 66 * Database error parser Class.
77 *
88 * @author Marco Cesarato <cesarato.developer@gmail.com>
9- * @copyright Copyright (c) 2019
109 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
1110 *
1211 * @see https://github.com/marcocesarato/Database-Web-API
Original file line number Diff line number Diff line change 66 * Docs.
77 *
88 * @author Marco Cesarato <cesarato.developer@gmail.com>
9- * @copyright Copyright (c) 2019
109 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
1110 *
1211 * @see https://github.com/marcocesarato/Database-Web-API
Original file line number Diff line number Diff line change 66 * Dump Class.
77 *
88 * @author Marco Cesarato <cesarato.developer@gmail.com>
9- * @copyright Copyright (c) 2019
109 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
1110 *
1211 * @see https://github.com/marcocesarato/Database-Web-API
@@ -36,7 +35,7 @@ public static function fatal()
3635 {
3736 self ::setHeader ();
3837 $ args = func_get_args ();
39- die (self ::internalDump ($ args ));
38+ exit (self ::internalDump ($ args ));
4039 }
4140
4241 /**
@@ -47,7 +46,7 @@ public static function clean()
4746 self ::setHeader ();
4847 ob_clean ();
4948 $ args = func_get_args ();
50- die (self ::internalDump ($ args ));
49+ exit (self ::internalDump ($ args ));
5150 }
5251
5352 /**
Original file line number Diff line number Diff line change 66 * Response Class.
77 *
88 * @author Marco Cesarato <cesarato.developer@gmail.com>
9- * @copyright Copyright (c) 2019
109 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
1110 *
1211 * @see https://github.com/marcocesarato/Database-Web-API
Original file line number Diff line number Diff line change 33 * Compatibility.
44 *
55 * @author Marco Cesarato <cesarato.developer@gmail.com>
6- * @copyright Copyright (c) 2019
76 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
87 *
98 * @see https://github.com/marcocesarato/Database-Web-API
Original file line number Diff line number Diff line change 33 * Functions.
44 *
55 * @author Marco Cesarato <cesarato.developer@gmail.com>
6- * @copyright Copyright (c) 2019
76 * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
87 *
98 * @see https://github.com/marcocesarato/Database-Web-API
You can’t perform that action at this time.
0 commit comments