diff options
Diffstat (limited to 'phpBB/privmsg.php')
| -rw-r--r-- | phpBB/privmsg.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index f28ec3095f..2992b1f0ef 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -73,15 +73,13 @@ else // if ( $cancel ) { - $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: '; - header($header_location . "privmsg.$phpEx$SIDfolder=$folder"); - exit; + redirect("privmsg.$phpEx$SIDfolder=$folder"); } // Start session management -$userdata = $session->start(); -$auth->acl($userdata); -$user = new user($userdata); +$user->start(); +$user->setup(); +$auth->acl($user->data); // End session management // |
