Changeset 7866 for trunk/src/kml.php


Ignore:
Timestamp:
Apr 28, 2010, 1:12:27 PM (15 years ago)
Author:
Pieter Naber
Message:

Need to test some new stuff online...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kml.php

    r7846 r7866  
    3232
    3333/* Instead of exposing the kml file, one could also argue to hide it at the back
    34  * so you can can so some dirty hacking and more easy ACL
    35  * $kmlFile = fopen($config['root'] . '/kml/nodemap-' . $time . '.kml');
    36  * print $fread($kmlFile);
    37  * fclose($kmlFile);
    38  */
    39 echo 'kml/nodemap-' . $time . '.kml';
     34 * so you can can so some dirty hacking and more easy ACL */
     35$kmlFile = new FileHandler($config['root'] . '/kml/nodemap-' . $time . '.kml', 'r');
     36echo $kmlFile->read();
    4037?>
Note: See TracChangeset for help on using the changeset viewer.