mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
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:
parent
362eaddd97
commit
eda0907757
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue