diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-30 00:17:39 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-30 00:17:39 +0500 |
| commit | 6e27fb9de11843b7bb605fe85cb628b6e4882787 (patch) | |
| tree | c4e3cf3cbf705267b24bc5ddf1fcd355b4441b56 /src/config.php | |
| parent | 8d6cb83506bcaa6b48aa1b24c31678a83b69374b (diff) | |
feat: PAGination!
Diffstat (limited to 'src/config.php')
| -rw-r--r-- | src/config.php | 2 |
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"); |
