|
From: Jon O. <jon...@us...> - 2005-10-02 21:24:38
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4364 Modified Files: index.php Log Message: support for phpbb template cache Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/index.php,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** index.php 1 Oct 2005 14:10:44 -0000 1.43 --- index.php 2 Oct 2005 21:24:30 -0000 1.44 *************** *** 79,83 **** // Initialize template // ! $layouttemplate = new mx_Template( $template->root, $board_config, $db ); $layouttemplate->set_filenames(array( --- 79,83 ---- // Initialize template // ! $layouttemplate = new mx_Template( $mx_root_path . 'templates/'. $theme['template_name'], $board_config, $db ); $layouttemplate->set_filenames(array( *************** *** 173,177 **** if ( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) { ! $template = new mx_Template($template->root, $board_config, $db); // --- 173,178 ---- if ( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) { ! //$template = new mx_Template($template->root, $board_config, $db); ! $template = new mx_Template($mx_root_path . 'templates/'. $theme['template_name'], $board_config, $db); // |