check_master_kml.php 220 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php

$path = $_GET['path']."/master_kml.xml";

if (is_file($path)){
  //print("There's master kml");
  $xml  = simplexml_load_file($path);
  print($xml->name);
}else{
  // return empty, don't update
  print(-1);
}

?>