From 4367a190c7f4975a4e15919ea71d14bfa5748d0d Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 27 Feb 2003 13:05:28 +0000 Subject: [PATCH] minor redirect fixes (please review) git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3564 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/usercp_email.php | 2 +- phpBB/install/install.php | 2 +- phpBB/privmsg.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/includes/usercp_email.php b/phpBB/includes/usercp_email.php index 5dd3d8ef8c..978b8016b6 100644 --- a/phpBB/includes/usercp_email.php +++ b/phpBB/includes/usercp_email.php @@ -30,7 +30,7 @@ if ( !defined('IN_PHPBB') ) // Is send through board enabled? No, return to index if (!$board_config['board_email_form']) { - redirect(append_sid("index.$phpEx")); + redirect(append_sid("index.$phpEx", true)); } if ( !empty($HTTP_GET_VARS[POST_USERS_URL]) || !empty($HTTP_POST_VARS[POST_USERS_URL]) ) diff --git a/phpBB/install/install.php b/phpBB/install/install.php index d8866c8c33..4f93113eec 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -443,7 +443,7 @@ if (@file_exists(@phpbb_realpath('config.'.$phpEx))) // Is phpBB already installed? Yes? Redirect to the index if (defined("PHPBB_INSTALLED")) { - redirect('index.'.$phpEx); + redirect('../index.'.$phpEx); } // Import language file, setup template ... diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 662056cf0b..916ef1269b 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -1067,7 +1067,7 @@ else if ( $save && $mark_list && $folder != 'savebox' && $folder != 'outbox' ) message_die(GENERAL_ERROR, 'Could not save private messages', '', __LINE__, __FILE__, $saved_sql); } - redirect("privmsg.$phpEx?folder=savebox"); + redirect(append_sid("privmsg.$phpEx?folder=savebox", true)); } } else if ( $submit || $refresh || $mode != '' )