added defines to kml generation script
rodzic
cd78ad3c1c
commit
14c98a5a93
|
@ -26,8 +26,8 @@ $uuid = $_GET['uuid'];
|
|||
if ( strlen($uuid) != 40 || !ctype_alnum($uuid) ) die("The supplied UUID was not a valid SHA1 hash");
|
||||
|
||||
// Construct paths to required predictor files and check they exist
|
||||
$flight_csv = $c_preds_path . $uuid . "/" . $c_flight_csv;
|
||||
$scenario_file = $c_preds_path . $uuid . "/" . $c_scenario_file;
|
||||
$flight_csv = PREDS_PATH . $uuid . "/" . FLIGHT_CSV;
|
||||
$scenario_file = PREDS_PATH . $uuid . "/" . SCENARIO_FILE;
|
||||
if ( !file_exists( $flight_csv ) || !file_exists( $scenario_file ) ) die("No prediction data for UUID");
|
||||
|
||||
// make the prediction model
|
Ładowanie…
Reference in New Issue