Index: /trunk/src/index.php
===================================================================
--- /trunk/src/index.php	(revision 7727)
+++ /trunk/src/index.php	(revision 7728)
@@ -8,4 +8,11 @@
 require_once('config.php');
 require_once($config['file_init']);
+
+// Make it parse properly within Firefox so that it will display a DOM tree
+header('Content-Type: text/xml');
+
+// And echo the result to the screen
+// TODO: Need to fix this wierd error... Or is it just USBWebserver? Line is invisible!
+echo '<?xml version="1.0" encoding="UTF-8"?>';
 
 // Creating a placemark using our class
@@ -54,10 +61,4 @@
 $kmlFile->parseStatusFile($nodeStatus->read());
 
-// Make it parse properly within Firefox so that it will display a DOM tree
-header('Content-Type: text/xml');
-
-// And echo the result to the screen
-// TODO: Need to fix this wierd error... Or is it just USBWebserver? Line is invisible!
-echo '<?xml version="1.0" encoding="UTF-8"?>';
 echo $kmlFile->toString();
 ?>
