redirect upon completion

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3202 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-12-18 01:05:54 +00:00
parent 362eaddd97
commit eda0907757

View file

@ -395,7 +395,7 @@ else
}
$board_email = (!empty($HTTP_POST_VARS['board_email'])) ? $HTTP_POST_VARS['board_email'] : '';
$script_path = (!empty($HTTP_POST_VARS['script_path'])) ? $HTTP_POST_VARS['script_path'] : preg_replace('#install/install\.'.$phpEx.'#i', '', $HTTP_SERVER_VARS['PHP_SELF']);
$script_path = (!empty($HTTP_POST_VARS['script_path'])) ? $HTTP_POST_VARS['script_path'] : str_replace('install', '', dirname($HTTP_SERVER_VARS['PHP_SELF']));
if (!empty($HTTP_POST_VARS['server_name']))
{
@ -1018,7 +1018,7 @@ else
// section.
$s_hidden_fields = '<input type="hidden" name="username" value="' . $admin_name . '" />';
$s_hidden_fields .= '<input type="hidden" name="password" value="' . $admin_pass1 . '" />';
$s_hidden_fields .= '<input type="hidden" name="redirect" value="admin/index.' . $phpEx . '" />';
$s_hidden_fields .= '<input type="hidden" name="redirect" value="admin/index.'.$phpEx.'" />';
$s_hidden_fields .= '<input type="hidden" name="login" value="true" />';
page_header($lang['Inst_Step_2'], '../login.'.$phpEx);