Browse files

Put <?xml tag into echo statement to avoid error when using php short…

… tags.
  • Loading branch information...
1 parent bba370e commit 25b50a3d6b34f78325c987bc08ad5c7719c5bc96 @gregelin gregelin committed Jun 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sitemap.php
View
2 sitemap.php
@@ -1,5 +1,5 @@
<?php header ("Content-Type:text/xml");?>
-<?xml version="1.0" encoding="UTF-8"?>
+<?php echo '<?xml version="1.0" encoding="UTF-8"?>'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php
include('config.php');

0 comments on commit 25b50a3

Please sign in to comment.