- Timestamp:
- Mar 30, 2010, 5:19:02 PM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r7628 r7629 6 6 */ 7 7 8 require_once('class/ErrorHandler.class.php'); 9 require_once('class/LogHandler.class.php'); 10 require_once('class/FileHandler.class.php'); 11 require_once('class/KMLFile.class.php'); 12 require_once('class/KMLPlacemark.class.php'); 8 require_once('config.php'); 9 require_once($config['file_init']); 13 10 11 // Creating a placemark using our class 14 12 $kmlPlacemark = new KMLPlacemark(); 15 13 $kmlPlacemark->setName('Test name'); … … 18 16 $kmlPlacemark->setYCoordinate(4.463046); 19 17 18 // Creating a KMLFile using our class, add our placemark and echo 20 19 $kml = new KMLFile(); 21 20 $kml->addPlacemark($kmlPlacemark); 22 21 echo $kml->toString(); 22 23 // Let's try to read the node status file 24 $nodeStatus = new FileHandler($config['node_status_file']); 23 25 ?>
Note:
See TracChangeset
for help on using the changeset viewer.