mirror of
https://github.com/Mibew/tray.git
synced 2025-01-23 02:20:35 +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() {
|
function logout_operator() {
|
||||||
global $webimroot;
|
global $webimroot;
|
||||||
$_SESSION['operator'] = NULL;
|
unset($_SESSION['operator']);
|
||||||
$_SESSION['backpath'] = NULL;
|
unset($_SESSION['backpath']);
|
||||||
if( isset($_COOKIE['webim_lite']) ) {
|
if( isset($_COOKIE['webim_lite']) ) {
|
||||||
setcookie('webim_lite', '', time() - 3600, "$webimroot/");
|
setcookie('webim_lite', '', time() - 3600, "$webimroot/");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user