X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/93ebb6cfe68748103b065768c7cb530ebefc7543..090eddcda4bf543db3463012f7a552a744364cd5:/examples/index.php diff --git a/examples/index.php b/examples/index.php index 4d7651a..dfff49c 100644 --- a/examples/index.php +++ b/examples/index.php @@ -35,12 +35,13 @@ require_once 'BIFE/Parser.php'; require_once 'BIFE/Copy.php'; require_once 'BIFE/Page.php'; require_once 'BIFE/Title.php'; +require_once 'BIFE/Link.php'; #require_once 'BIFE/Album.php'; #require_once 'BIFE.php'; -$file = 'simple.xbf'; +$file = isset($_REQUEST['BIFE']) ? $_REQUEST['BIFE'] : 'index.xbf'; -$template =& new HTML_Template_Sigma('templates'); +$template =& new HTML_Template_Sigma('templates', 'compiled_templates'); $template->setErrorHandling(PEAR_ERROR_PRINT); $parser =& new BIFE_Parser('BIFE_Copy');