| // +--------------------------------------------------------------------+ // // $Id$ // $incs = array( '../core', '../modules/album', '../modules/basic', '../modules/menu', // '../modules/', ); $tmp = ini_get('include_path'); ini_set('include_path', join(':', $incs) . ":$tmp"); unset($tmp); umask('002'); require_once 'HTML/Template/HIT.php'; require_once 'BIFE/Parser.php'; require_once 'BIFE/Translate.php'; require_once 'BIFE/Link.php'; $file = isset($_REQUEST['BIFE']) ? $_REQUEST['BIFE'] : 'index.xbf'; $template =& new HTML_Template_HIT('templates'); $parser =& new BIFE_Parser('BIFE_Translate'); $page =& $parser->parseFile($file); $parser->__destruct(); echo $page->render($template); ?>