]> git.sesse.net Git - xml-template/blobdiff - php5-swig/passthru.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php5-swig / passthru.php
index c51e1e1f60787011815678f7f83952c8014c354a..91f1f56bddae6d385764918744d2c23bbc98e36b 100644 (file)
@@ -2,7 +2,7 @@
 include("xml-template.php");
 
 $doc = XML_Template_process_file('../xml/passthru.xml', array(), true);
-output_to_fd($doc, 1);
+print XML_Template_convert_doc_to_string($doc);
 
 ?>