|
From: Jon O. <jon...@us...> - 2008-06-16 10:46:45
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6050 Modified Files: common.php login.php Log Message: Updated install wizard, with new references to new site Fixed the creation of default user Updated all tpl footer, with updated copyrights etc New validation check when switching backend, to ensure you can always manage the system Cleanup when in internal mode. phpbb settings are hidden Index: login.php =================================================================== RCS file: /cvsroot/mxbb/core/login.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** login.php 26 Feb 2008 18:36:45 -0000 1.28 --- login.php 16 Jun 2008 10:46:37 -0000 1.29 *************** *** 124,128 **** 'L_ENTER_PASSWORD' => $mx_request_vars->is_get('admin') ? $lang['Admin_reauthenticate'] : $lang['Enter_password'], ! 'L_SEND_PASSWORD' => $lang['Forgotten_password'], 'U_SEND_PASSWORD' => mx3_append_sid($phpbb_root_path . "profile.$phpEx", "mode=sendpassword"), --- 124,128 ---- 'L_ENTER_PASSWORD' => $mx_request_vars->is_get('admin') ? $lang['Admin_reauthenticate'] : $lang['Enter_password'], ! 'L_SEND_PASSWORD' => PORTAL_BACKEND != 'internal' ? $lang['Forgotten_password'] : '', 'U_SEND_PASSWORD' => mx3_append_sid($phpbb_root_path . "profile.$phpEx", "mode=sendpassword"), Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.92 retrieving revision 1.93 diff -C2 -d -r1.92 -r1.93 *** common.php 15 Jun 2008 09:15:42 -0000 1.92 --- common.php 16 Jun 2008 10:46:37 -0000 1.93 *************** *** 241,244 **** --- 241,246 ---- @include_once($phpbb_root_path . 'config.' . $phpEx); $tplEx = 'tpl'; + $_result = $db->sql_query( "SELECT config_value from " . $table_prefix . "config WHERE config_name = 'cookie_domain'" ); + $portal_backend_valid_db = $db->sql_numrows( $_result ) != 0; break; case 'phpbb3': *************** *** 248,255 **** @include_once($phpbb_root_path . 'config.' . $phpEx); $tplEx = 'html'; break; } ! if (!$portal_backend_valid_file || empty($table_prefix)) { // --- 250,259 ---- @include_once($phpbb_root_path . 'config.' . $phpEx); $tplEx = 'html'; + $_result = $db->sql_query( "SELECT config_value from " . $table_prefix . "config WHERE config_name = 'cookie_domain'" ); + $portal_backend_valid_db = $db->sql_numrows( $_result ) != 0; break; } ! if (!$portal_backend_valid_file || empty($table_prefix) || !$portal_backend_valid_db) { // |