diff options
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 |