diff options
Diffstat (limited to 'Application')
-rw-r--r-- | Application/GetGoal/index.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Application/GetGoal/index.php b/Application/GetGoal/index.php new file mode 100644 index 0000000..8ad95d0 --- /dev/null +++ b/Application/GetGoal/index.php @@ -0,0 +1,8 @@ +<?php + +require_once $_SERVER['DOCUMENT_ROOT'] . "/Private/SessionManager.php"; +header("Content-Type: application/json"); + +$goal = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/Private/Data/Goal.json"), true); + +die(json_encode($goal));
\ No newline at end of file |