X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/6040f3feab69010487b3e9b5b7ad532a0f44c50c..537561c5709c3f574c5d406cb4cb28b3522f2566:/examples/index.php?ds=sidebyside diff --git a/examples/index.php b/examples/index.php index 18f9ce3..cd198be 100644 --- a/examples/index.php +++ b/examples/index.php @@ -32,6 +32,7 @@ unset($tmp); require_once 'HTML/Template/Sigma.php'; require_once 'BIFE/Parser.php'; +require_once 'BIFE/Copy.php'; require_once 'BIFE/Page.php'; require_once 'BIFE/Title.php'; require_once 'BIFE/Album.php'; @@ -42,7 +43,7 @@ $file = 'simple.xbf'; $template =& new HTML_Template_Sigma('templates'); $template->setErrorHandling(PEAR_ERROR_PRINT); -$parser =& new BIFE_Parser($template); +$parser =& new BIFE_Parser('BIFE_Copy'); $page =& $parser->parseFile($file); $parser->__destruct(); echo $page->render($template);