diff options
author | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-11-11 23:47:49 +0100 |
commit | 209356b8ade1920b50d1d3a1a5e121c6623d167b (patch) | |
tree | 5301396987d1510f715a0b1c24754873af19e1dc /api/docs.php | |
parent | 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff) | |
download | pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2 pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip |
Update
Diffstat (limited to 'api/docs.php')
-rw-r--r-- | api/docs.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/api/docs.php b/api/docs.php index 1c9429b..89e9216 100644 --- a/api/docs.php +++ b/api/docs.php @@ -13,12 +13,10 @@ if (isset($select)) { $id = $select; $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/docs/" . $select . ".json"), true); } else { - header("Location: /-/docs"); - die(); + die("Not found"); } } else { - header("Location: /-/docs"); - die(); + die("Not set"); } if ($json_object["content"]) $data["contents"] = $json_object["content"]; |