Index: trunk/src/config.php
===================================================================
--- trunk/src/config.php	(revision 7845)
+++ trunk/src/config.php	(revision 7846)
@@ -63,5 +63,5 @@
  */
 $time = mktime() - (mktime() % 300);
-$config['kml_file']			= 'http://' . $config['url'] . $config['uri'] . '/kml.php?time=' . $time;
+$config['kml_file']			= 'kml.php?time=' . $time;
 // Should be something like:
 // $config['kml_file']		= $config['root'] . '/kml.php?time=%TIMESTAMP%';
Index: trunk/src/kml.php
===================================================================
--- trunk/src/kml.php	(revision 7845)
+++ trunk/src/kml.php	(revision 7846)
@@ -37,4 +37,4 @@
  * fclose($kmlFile);
  */
-header('Location: kml/nodemap-' . $time . '.kml');
+echo 'kml/nodemap-' . $time . '.kml';
 ?>
Index: trunk/src/map/index.php
===================================================================
--- trunk/src/map/index.php	(revision 7845)
+++ trunk/src/map/index.php	(revision 7846)
@@ -6,5 +6,5 @@
 
 #getting array from kmlHandler
-$markers = get_node_array('../' . $config['kml_file']);
+$markers = get_node_array($config['kml_file']);
 
 # Key is defined to be the domain name if exists
