]> git.sesse.net Git - xml-template/blobdiff - php5-swig/include.php
Fix some errors in the include test for php5-swig.
[xml-template] / php5-swig / include.php
index a648bb5a6f1b56417802b93bcbe2536dd4cddbcd..b24e59f866543911da1e853abf88aeec8984275c 100644 (file)
@@ -3,11 +3,11 @@
 dl("XML_Template_SWIG.so");
 $doc = XML_Template_process_file('../xml/included.xml', array(
        'color' => 'red'
-), 0);
+), false);
 $master = XML_Template_process_file('../xml/master.xml', array(
        'title' => 'Main HTML title',
        'h1' => 'Nice heading here',
        'contents' => $doc
 ), true);
-output_to_fd_and_free($doc, 1);
+output_to_fd_and_free($master, 1);
 ?>