diff options
Diffstat (limited to 'src/utils.php')
| -rw-r--r-- | src/utils.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils.php b/src/utils.php index a11fa16..6356cfb 100644 --- a/src/utils.php +++ b/src/utils.php @@ -1,6 +1,4 @@ <?php -define("CLIENT_REQUIRES_JSON", isset($_SERVER["HTTP_ACCEPT"]) && $_SERVER["HTTP_ACCEPT"] == "application/json"); - function json_response(mixed $response, int $status = 200) { http_response_code($status); |
