[mw-devel] MW3 r1242 - trunk/webclient
dez at sucs.org
dez at sucs.org
Tue Nov 30 21:05:14 GMT 2010
Author: dez
Date: 2010-11-30 21:05:14 +0000 (Tue, 30 Nov 2010)
New Revision: 1242
Modified:
trunk/webclient/index.php
Log:
Fixes "Logout" button when a sucssite session exists.
Modified: trunk/webclient/index.php
===================================================================
--- trunk/webclient/index.php 2010-11-14 18:30:24 UTC (rev 1241)
+++ trunk/webclient/index.php 2010-11-30 21:05:14 UTC (rev 1242)
@@ -25,7 +25,7 @@
}
if (!isset($mwsess)) {
- if (@$_REQUEST['sucssite_loggedin']=="true") {
+ if (@$_REQUEST['sucssite_loggedin']=="true" && $action!="logout") {
require("startup.php");
} else {
$smarty->assign_by_ref("body", $smarty->fetch("login.html"));
More information about the mw-devel
mailing list