X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/241c44fb6d36ff7d10fb8d10692aa8492aff811f..refs/heads/master:/base/examples/index.php?ds=sidebyside diff --git a/base/examples/index.php b/base/examples/index.php index 656561b..e578de5 100644 --- a/base/examples/index.php +++ b/base/examples/index.php @@ -1,5 +1,5 @@ '; - echo htmlentities(join('', file($file))); - } else { - // We want to see the php file source. - highlight_file($_SERVER['SCRIPT_FILENAME']); - } - exit; -} -// }}} - -// If we are not looking at the source, we use BIFE to show the page {{{ -$template =& new HTML_Template_HIT('templates'); -$parser =& new BIFE_Parser('BIFE_Translate'); -$page =& $parser->parseFile($file); -$parser->__destruct(); -echo $page->render($template); -// }}} - -?> +?> \ No newline at end of file