mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
Mostly changes to turn userdata into user->data, lang into user->lang + bitstring 2nd format + inheritance for permission admin and various other updates/fixes/changes ... note that user->lang & user->theme isn't final
git-svn-id: file:///svn/phpbb/trunk@2958 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user