X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Finclude.php;h=b24e59f866543911da1e853abf88aeec8984275c;hb=b8d9f535d133e2cdf87aac8134f09f216912a6aa;hp=a648bb5a6f1b56417802b93bcbe2536dd4cddbcd;hpb=e68823a5f143728eab14ae62be7a0e4d154869f4;p=xml-template diff --git a/php5-swig/include.php b/php5-swig/include.php index a648bb5..b24e59f 100644 --- a/php5-swig/include.php +++ b/php5-swig/include.php @@ -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); ?>