phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.sessions_db.inc.php,1.20


From: fipsfuchs
Subject: [Phpgroupware-cvs] phpgwapi/inc class.sessions_db.inc.php,1.20
Date: Thu, 12 May 2005 20:00:00 +0200

Update of phpgwapi/inc

Modified Files:
     Branch: MAIN
            class.sessions_db.inc.php lines: +3 -9

Log Message:
patch 3955

====================================================
Index: phpgwapi/inc/class.sessions_db.inc.php
diff -u phpgwapi/inc/class.sessions_db.inc.php:1.19 
phpgwapi/inc/class.sessions_db.inc.php:1.20
--- phpgwapi/inc/class.sessions_db.inc.php:1.19 Thu Dec 30 06:47:31 2004
+++ phpgwapi/inc/class.sessions_db.inc.php      Thu May 12 18:00:08 2005
@@ -56,14 +56,8 @@
                // This will update the DateLastActive column, so the login 
does not expire
                function update_dla()
                {
-                       if (@isset($GLOBALS['phpgw_info']['menuaction']))
-                       {
-                               $action = $GLOBALS['phpgw_info']['menuaction'];
-                       }
-                       else
-                       {
-                               $action = $_SERVER['PHP_SELF'];
-                       }
+                       $menu_action = 
get_var('menuaction',Array('GET','POST'));
+                       $action = $menu_action ? $menu_action : 
$_SERVER['PHP_SELF'];

                        // This way XML-RPC users aren't always listed as
                        // xmlrpc.php






reply via email to

[Prev in Thread] Current Thread [Next in Thread]