Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
b2f439b8
Commit
b2f439b8
authored
Aug 24, 2012
by
Alan Garcia
Browse files
Bug quand on usurpe une identité, puis qu'on se log en user sans se déloguer avant.
parent
8b0d4e30
Changes
1
Hide whitespace changes
Inline
Side-by-side
bureau/class/m_mem.php
View file @
b2f439b8
...
...
@@ -297,7 +297,7 @@ class m_mem {
$err
->
log
(
"mem"
,
"del_session"
);
$_COOKIE
[
"session"
]
=
addslashes
(
isset
(
$_COOKIE
[
"session"
])
?
$_COOKIE
[
"session"
]
:
''
);
setcookie
(
"session"
,
""
,
0
,
"/"
);
setcookie
(
"oldid"
,
""
,
0
,
"/
admin/
"
);
setcookie
(
"oldid"
,
""
,
0
,
"/"
);
if
(
$_COOKIE
[
"session"
]
==
""
)
{
$err
->
error
=
0
;
return
true
;
...
...
@@ -327,6 +327,7 @@ class m_mem {
$GLOBALS
[
$c
]
->
alternc_del_session
();
}
}
session_unset
();
return
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment