Permalink
Browse files

Removing Xml prolog from default xml layouts.

Both DOMDocument and SimpleXML output the prolog when
saving xml.

Fixes #2171
  • Loading branch information...
1 parent 95acaba commit 8529d76e6f7d0f20ec1bf8c754aa6423e917f62a @markstory markstory committed Oct 28, 2011
@@ -1,2 +1 @@
-<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
<?php echo $content_for_layout; ?>
@@ -1,2 +1 @@
-<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
<?php echo $content_for_layout; ?>

0 comments on commit 8529d76

Please sign in to comment.