[geeklog-cvs] Geeklog-1.x/system lib-security.php,1.70,1.70.2.1

Dirk Haun dhaun at qs1489.pair.com
Fri Jun 20 15:10:40 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv72054/system

Modified Files:
      Tag: geeklog_1_5_0_1
	lib-security.php 
Log Message:
Started a "bugfixes only" branch for a possible 1.5.0-1 release and ported the first fixes over from the trunk.


Index: lib-security.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v
retrieving revision 1.70
retrieving revision 1.70.2.1
diff -C2 -d -r1.70 -r1.70.2.1
*** lib-security.php	24 May 2008 16:16:14 -0000	1.70
--- lib-security.php	20 Jun 2008 19:10:38 -0000	1.70.2.1
***************
*** 1080,1083 ****
--- 1080,1089 ----
  {
      global $_USER, $_TABLES;
+ 
+     static $last_token;
+ 
+     if (isset($last_token)) {
+         return $last_token;
+     }
      
      /* Figure out the full url to the current page */
***************
*** 1104,1107 ****
--- 1110,1115 ----
      DB_Query($sql);
             
+     $last_token = $token;
+ 
      /* And return the token to the user */
      return $token;




More information about the geeklog-cvs mailing list