]> git.sesse.net Git - xml-template/blobdiff - php5-swig/passthru.php
Add a proper wrapper for php5-swig, which also makes attribute[23] pass. All tests...
[xml-template] / php5-swig / passthru.php
index 8102a3807f1391719941f05f202c516e214013ad..c51e1e1f60787011815678f7f83952c8014c354a 100644 (file)
@@ -1,8 +1,8 @@
 <?php
+include("xml-template.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);
 
 ?>