mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Changes to add session_id to newest redirect were failing ... fixed
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3299 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -697,7 +697,12 @@ function phpbb_realpath($path)
|
||||
|
||||
function redirect($url)
|
||||
{
|
||||
global $board_config;
|
||||
global $db, $board_config;
|
||||
|
||||
if (!empty($db))
|
||||
{
|
||||
$db->sql_close();
|
||||
}
|
||||
|
||||
$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
|
||||
$server_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['server_name']));
|
||||
@@ -718,4 +723,4 @@ function redirect($url)
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Reference in New Issue
Block a user