|
From: Jon O. <jon...@us...> - 2008-02-17 16:46:16
|
Update of /cvsroot/mxbb/mx_kb/kb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20336 Modified Files: kb_common.php Log Message: Update to custom module default style Index: kb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/kb_common.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** kb_common.php 16 Feb 2008 00:12:47 -0000 1.11 --- kb_common.php 17 Feb 2008 16:46:11 -0000 1.12 *************** *** 85,89 **** // Load a wrapper for common phpBB2 functions // ! include_once( $mx_root_path . 'includes/shared/phpbb2/functions.' . $phpEx ); // ********************************************************************** --- 85,89 ---- // Load a wrapper for common phpBB2 functions // ! include_once( $mx_root_path . 'includes/shared/phpbb2/includes/functions.' . $phpEx ); // ********************************************************************** *************** *** 95,103 **** if ( !file_exists( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'pafiledb/language/lang_english/lang_main.' . $phpEx ); } else { ! include( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); } } --- 95,103 ---- if ( !file_exists( $module_root_path . 'pafiledb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $module_root_path . 'kb/language/lang_english/lang_main.' . $phpEx ); } else { ! include( $module_root_path . 'kb/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); } } *************** *** 108,112 **** if ( !MXBB_MODULE ) { ! include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); // Include XS template $template = new Template($module_root_path . 'templates/'. $theme['template_name']); } --- 108,112 ---- if ( !MXBB_MODULE ) { ! include_once( $module_root_path . 'kb/includes/template.' . $phpEx ); // Include XS template $template = new Template($module_root_path . 'templates/'. $theme['template_name']); } |