|
From: OryNider <ory...@us...> - 2008-02-05 02:10:22
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14199 Modified Files: mx_functions_phpbb.php mx_functions_style.php Log Message: $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; if ( empty($default_lang) ) { // - populate $default_lang $default_lang= 'english'; } Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** mx_functions_style.php 4 Feb 2008 15:56:43 -0000 1.36 --- mx_functions_style.php 5 Feb 2008 02:10:14 -0000 1.37 *************** *** 1212,1216 **** if ( !$mx_template_config ) { ! mx_message_die(CRITICAL_ERROR, "Could not open mxBB $this->template_name template config file", '', __LINE__, __FILE__); } --- 1212,1216 ---- if ( !$mx_template_config ) { ! mx_message_die(CRITICAL_ERROR, "Could not open mxBB " . $module_root_path . $this->default_current_template_path . " style config file", '', __LINE__, __FILE__); } Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** mx_functions_phpbb.php 4 Feb 2008 15:56:43 -0000 1.43 --- mx_functions_phpbb.php 5 Feb 2008 02:10:14 -0000 1.44 *************** *** 452,455 **** --- 452,461 ---- $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; + if ( empty($default_lang) ) + { + // - populate $default_lang + $default_lang= 'english'; + } + switch (PORTAL_BACKEND) { |