- Timestamp:
- Apr 17, 2010, 12:01:51 PM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/inc/FileHandler.class.php
r7795 r7799 60 60 61 61 try { 62 63 64 62 fwrite($this->handle, $data); 65 66 67 63 } catch (Exception $err) { 68 64 trigger_log(SYSLOG_ERR, 'Couldn\'t write to file "' . $this->filename . '"', __FILE__, __LINE__); -
trunk/src/kml-echo.php
r7789 r7799 25 25 $kmlFile->parseStatusFile($nodeStatus->read()); 26 26 27 if (isset($_GET['write']) && $_GET['write'] == true) {28 // TODO: David: Write the KML file to a folder with date stamp29 }30 31 27 // And echo the result to the screen 32 28 echo $kmlFile->toString(); -
trunk/src/kml.php
r7771 r7799 28 28 // Write the file to the server 29 29 $file = new FileHandler($config['root'] . '/kml/nodemap-' . $time . '.kml', 'w'); 30 $file->write($kmlFile->toString()); // Function doesn't work yet... Waiting for David...30 $file->write($kmlFile->toString()); 31 31 } 32 32 33 //header('Location: ' . $config['root'] . '/kml/nodemap-' . $time . '.kml');33 header('Location: ' . $config['root'] . '/kml/nodemap-' . $time . '.kml'); 34 34 ?> -
trunk/src/logfile.txt
r7788 r7799 1 Warning (5 | 2010/17/04 09:41:11): mail() [<a href='function.mail'>function.mail</a>]: Failed to Send 2 In file "D:\Werkplaats\NodeMap2.0\trunk\src\inc\LogHandler.class.php" on line "119"
Note:
See TracChangeset
for help on using the changeset viewer.