diff options
author | Minteck <contact@minteck.org> | 2022-04-06 21:52:16 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-06 21:52:16 +0200 |
commit | 9989797ecd50074ea8006613ce4b03e3b38f0e89 (patch) | |
tree | 9539df25f47f4da122b1bfcbbd3e0a2ab1a125dd /api/contact/count/index.php | |
parent | 01632caf82659e4e8025b4fad91ff7388b369770 (diff) | |
download | cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.tar.gz cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.tar.bz2 cloudsdale-9989797ecd50074ea8006613ce4b03e3b38f0e89.zip |
Admin panel done
Diffstat (limited to 'api/contact/count/index.php')
-rw-r--r-- | api/contact/count/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/contact/count/index.php b/api/contact/count/index.php new file mode 100644 index 0000000..809902b --- /dev/null +++ b/api/contact/count/index.php @@ -0,0 +1,5 @@ +<?php + +$config = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/projects.json"), true); +header("Content-Type: application/json"); +echo(count($config));
\ No newline at end of file |