From: sgunderson@bigfoot.com <> Date: Thu, 22 Sep 2011 23:22:43 +0000 (+0200) Subject: Fix some errors in the include test for php5-swig. X-Git-Url: https://git.sesse.net/?p=xml-template;a=commitdiff_plain;h=b8d9f535d133e2cdf87aac8134f09f216912a6aa Fix some errors in the include test for php5-swig. --- 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); ?>