Skip to content

Commit

Permalink
Removing Xml prolog from default xml layouts.
Browse files Browse the repository at this point in the history
Both DOMDocument and SimpleXML output the prolog when
saving xml.

Fixes #2171
  • Loading branch information
markstory committed Oct 28, 2011
1 parent 95acaba commit 8529d76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
@@ -1,2 +1 @@
<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
<?php echo $content_for_layout; ?>
1 change: 0 additions & 1 deletion lib/Cake/View/Layouts/xml/default.ctp
@@ -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.