mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
logout fix
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@447 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
ca552966d1
commit
669a77ffee
@ -187,8 +187,8 @@ function login_operator($operator,$remember) {
|
||||
|
||||
function logout_operator() {
|
||||
global $webimroot;
|
||||
$_SESSION['operator'] = NULL;
|
||||
$_SESSION['backpath'] = NULL;
|
||||
unset($_SESSION['operator']);
|
||||
unset($_SESSION['backpath']);
|
||||
if( isset($_COOKIE['webim_lite']) ) {
|
||||
setcookie('webim_lite', '', time() - 3600, "$webimroot/");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user