|
From: Jon O. <jon...@us...> - 2005-09-07 19:38:19
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32039/install Modified Files: mx_install.php Log Message: further fixes Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** mx_install.php 20 Aug 2005 18:19:11 -0000 1.46 --- mx_install.php 7 Sep 2005 19:38:10 -0000 1.47 *************** *** 48,52 **** // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8 - RC3'; // --- 48,52 ---- // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8 - RC5'; // *************** *** 54,58 **** // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '2.0.0'); define('INSTALLER_NAME', 'mxBB-IWizard'); --- 54,58 ---- // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '2.0.1'); define('INSTALLER_NAME', 'mxBB-IWizard'); *************** *** 341,344 **** --- 341,345 ---- $language = ( isset($HTTP_POST_VARS['language']) ? $HTTP_POST_VARS['language'] : ( isset($HTTP_GET_VARS['language']) ? $HTTP_GET_VARS['language'] : '' ) ); $language = ( preg_match('#^[a-z_]+$#', $language) ? strip_tags($language) : '' ); + if( empty($language) ) { *************** *** 378,381 **** --- 379,383 ---- $language = guess_lang(); } + include($mx_root_path . "language/lang_$language/lang_main.$phpEx"); include($mx_root_path . "language/lang_$language/lang_admin.$phpEx"); *************** *** 528,531 **** --- 530,534 ---- include($phpbb_root_path . "includes/sql_parse.$phpEx"); include($phpbb_root_path . "includes/db.$phpEx"); + $db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false); if ( !$db->db_connect_id ) *************** *** 578,583 **** if( @file_exists($mx_root_path . 'cache/block_config.xml') ) { ! include($mx_root_path . "cache/mx_functions_core$phpEx"); ! write_cache_config(); $process_msgs[] = $lang['Cache_generate']; } --- 581,586 ---- if( @file_exists($mx_root_path . 'cache/block_config.xml') ) { ! include($mx_root_path . "cache/mx_functions_core.$phpEx"); ! update_session_cache(MX_ALL_DATA); $process_msgs[] = $lang['Cache_generate']; } *************** *** 593,597 **** $portal_config = $db->sql_fetchrow($result); include($mx_root_path . "includes/mx_functions_core.$phpEx"); ! update_session_cache(); $process_msgs[] = $lang['Cache_generate']; } --- 596,600 ---- $portal_config = $db->sql_fetchrow($result); include($mx_root_path . "includes/mx_functions_core.$phpEx"); ! update_session_cache(MX_ALL_DATA); $process_msgs[] = $lang['Cache_generate']; } |