mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Added passing $sessionid and $kp3 parameters to session->destroy()
This commit is contained in:
parent
bba0ba2eb7
commit
3a65ab5a7f
10
logout.php
10
logout.php
@ -42,15 +42,19 @@
|
||||
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
||||
}
|
||||
$GLOBALS['phpgw']->common->hook('logout');
|
||||
$GLOBALS['phpgw']->session->destroy();
|
||||
$GLOBALS['phpgw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw']->log->write(array('text'=>'W-VerifySession, could not verify session during logout'));
|
||||
$GLOBALS['phpgw']->log->write(array(
|
||||
'text' => 'W-VerifySession, could not verify session during logout',
|
||||
'line' => __LINE__,
|
||||
'file' => __FILE__
|
||||
));
|
||||
}
|
||||
Setcookie('sessionid');
|
||||
Setcookie('kp3');
|
||||
Setcookie('domain');
|
||||
|
||||
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw_info']['server']['webserver_url'].'/login.php?cd=1');
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue
Block a user