Changeset 7720 for trunk/src/index.php
- Timestamp:
- Apr 12, 2010, 5:56:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r7702 r7720 42 42 43 43 // Let's try to read the node location file 44 $nodeLocation = new FileHandler($config['node_location_file'] );45 $kmlFile->parseLocationFile($nodeLocation-> getFile());44 $nodeLocation = new FileHandler($config['node_location_file'], 'r'); 45 $kmlFile->parseLocationFile($nodeLocation->read()); 46 46 /* 47 47 * For testing, echo the example KML file … … 51 51 52 52 // Let's try to read the node status file 53 $nodeStatus = new FileHandler($config['node_status_file'] );54 $kmlFile->parseStatusFile($nodeStatus-> getFile());53 $nodeStatus = new FileHandler($config['node_status_file'], 'r'); 54 $kmlFile->parseStatusFile($nodeStatus->read()); 55 55 56 56 // And echo the result to the screen
Note:
See TracChangeset
for help on using the changeset viewer.