Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing XmlHelper references in layouts.

Fixes #1916
  • Loading branch information...
commit 0e21093268a3adc07824c1d838da591b26920275 1 parent c3884f4
Mark Story markstory authored
4 lib/Cake/Test/test_app/View/Layouts/xml/default.ctp
View
@@ -1,2 +1,2 @@
-<?php echo $xml->header(); ?>
-<?php echo $content_for_layout; ?>
+<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
+<?php echo $content_for_layout; ?>
4 lib/Cake/View/Layouts/xml/default.ctp
View
@@ -1,2 +1,2 @@
-<?php echo $this->Xml->header(); ?>
-<?php echo $content_for_layout; ?>
+<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
+<?php echo $content_for_layout; ?>
Please sign in to comment.
Something went wrong with that request. Please try again.