summaryrefslogtreecommitdiff
path: root/src/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.php')
-rw-r--r--src/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.php b/src/config.php
index 7c740d1..e224b72 100644
--- a/src/config.php
+++ b/src/config.php
@@ -1,4 +1,6 @@
<?php
+define("CLIENT_REQUIRES_JSON", isset($_SERVER["HTTP_ACCEPT"]) && $_SERVER["HTTP_ACCEPT"] == "application/json");
+
// DATABASE
define("DB_USER", "kochan");
define("DB_PASS", "kochan");