diff --git a/predict/ajax.php b/predict/ajax.php index 9bd9e1d..2dc9921 100644 --- a/predict/ajax.php +++ b/predict/ajax.php @@ -6,7 +6,7 @@ $action = $_GET['action']; switch($action) { case "getCSV": $uuid = $_GET['uuid']; - $fh = fopen("preds/".$uuid."/flight_path.csv", "r"); + $fh = fopen("preds/".$uuid."/flight_path.csv", "r") or die("No CSV for UUID"); $data = array(); while (!feof($fh)) { $line = trim(fgets($fh)); diff --git a/predict/index.php b/predict/index.php index b45972b..13b2731 100644 --- a/predict/index.php +++ b/predict/index.php @@ -21,7 +21,7 @@ google.load("jqueryui", "1.8.1");