summaryrefslogtreecommitdiff
path: root/Application/GetGoal/index.php
blob: 8ad95d0b31f18f02a797c7d8b44735cc7256eba0 (plain)
1
2
3
4
5
6
7
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));