X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/83c0aaf19ae9241ba9f30da47013479ee761685e..6040f3feab69010487b3e9b5b7ad532a0f44c50c:/examples/index.php diff --git a/examples/index.php b/examples/index.php index 5e21623..18f9ce3 100644 --- a/examples/index.php +++ b/examples/index.php @@ -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); ?>