Changeset 7846 for trunk/src


Ignore:
Timestamp:
Apr 19, 2010, 7:34:39 AM (15 years ago)
Author:
Pieter Naber
Message:
 
Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/config.php

    r7845 r7846  
    6363 */
    6464$time = mktime() - (mktime() % 300);
    65 $config['kml_file']                     = 'http://' . $config['url'] . $config['uri'] . '/kml.php?time=' . $time;
     65$config['kml_file']                     = 'kml.php?time=' . $time;
    6666// Should be something like:
    6767// $config['kml_file']          = $config['root'] . '/kml.php?time=%TIMESTAMP%';
  • trunk/src/kml.php

    r7841 r7846  
    3737 * fclose($kmlFile);
    3838 */
    39 header('Location: kml/nodemap-' . $time . '.kml');
     39echo 'kml/nodemap-' . $time . '.kml';
    4040?>
  • trunk/src/map/index.php

    r7838 r7846  
    66
    77#getting array from kmlHandler
    8 $markers = get_node_array('../' . $config['kml_file']);
     8$markers = get_node_array($config['kml_file']);
    99
    1010# Key is defined to be the domain name if exists
Note: See TracChangeset for help on using the changeset viewer.