Author: frik85
Date: Sun Oct 15 14:13:21 2006
New Revision: 24511
URL:
http://svn.reactos.org/svn/reactos?rev=24511&view=rev
Log:
RosCMS -> ReactOS Global Login System:
* bug 1848 fixed ("logout bug")
See issue #1848 for more details.
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/logout.php
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/logout.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
==============================================================================
---
trunk/web/reactos.org/htdocs/roscms/inc/logout.php (original)
+++
trunk/web/reactos.org/htdocs/roscms/inc/logout.php Sun Oct 15 14:13:21 2006
@@ -35,10 +35,10 @@
require_once("utils.php");
-if (isset($_COOKIE[$roscms_login_cookie_roscmsusrkey]))
+if (isset($_COOKIE['roscmsusrkey']))
{
- $del_session_id = $_COOKIE[$roscms_login_cookie_roscmsusrkey];
- setcookie($roscms_login_cookie_roscmsusrkey, "", time() - 3600, "/",
cookie_domain());
+ $del_session_id = $_COOKIE['roscmsusrkey'];
+ setcookie("roscmsusrkey", "", time() - 3600, "/",
cookie_domain());
$logout_usr_key_post = "DELETE FROM user_sessions " .
" WHERE usersession_id = '" .
mysql_escape_string($del_session_id) .