]> git.sesse.net Git - xml-template/commitdiff
Fix some errors in the include test for php5-swig.
authorsgunderson@bigfoot.com <>
Thu, 22 Sep 2011 23:22:43 +0000 (01:22 +0200)
committersgunderson@bigfoot.com <>
Thu, 22 Sep 2011 23:22:43 +0000 (01:22 +0200)
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);
 ?>