]> git.sesse.net Git - xml-template/blobdiff - php5-swig/passthru.php
Do weird dances to get php5-swig garbage collection going. Something tells me this...
[xml-template] / php5-swig / passthru.php
index 8102a3807f1391719941f05f202c516e214013ad..2496b18c8759ec5e682dd75775c11a498fc93d1d 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 
 dl("XML_Template_SWIG.so");
-$doc = process_file('../xml/passthru.xml', array(), true);
-output_to_fd_and_free($doc, 1);
+$doc = XML_Template_process_file('../xml/passthru.xml', array(), true);
+output_to_fd($doc, 1);
 
 ?>