]> git.llucax.com Git - software/bife/bife-all.git/blobdiff - examples/index.php
- Added a roadmap.
[software/bife/bife-all.git] / examples / index.php
index 5e216233c96e1ec6e3701765914ddaab9f49ad9f..18f9ce3e8388621ca1acbbd96af5d5fea17e94f2 100644 (file)
@@ -43,8 +43,8 @@ $template =& new HTML_Template_Sigma('templates');
 $template->setErrorHandling(PEAR_ERROR_PRINT);
 
 $parser =& new BIFE_Parser($template);
-$parser->parseFile($file);
-echo $parser->getOutput();
+$page =& $parser->parseFile($file);
 $parser->__destruct();
+echo $page->render($template);
 
 ?>