[geeklog-cvs] Geeklog-1.x/system lib-security.php,1.63,1.64
Michael Jervis
mjervis at qs1489.pair.com
Fri Feb 22 03:22:44 EST 2008
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv6028/system
Modified Files:
lib-security.php
Log Message:
COM_getCurrentURL not my own rubbish...
Index: lib-security.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-security.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** lib-security.php 21 Feb 2008 19:52:53 -0000 1.63
--- lib-security.php 22 Feb 2008 08:22:42 -0000 1.64
***************
*** 1051,1064 ****
/* Figure out the full url to the current page */
! $pageURL = 'http';
! if ($_SERVER["HTTPS"] == "on") {
! $pageURL .= "s";
! }
! $pageURL .= "://";
! if ($_SERVER["SERVER_PORT"] != "80") {
! $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
! } else {
! $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
! }
/* Generate the token */
--- 1051,1055 ----
/* Figure out the full url to the current page */
! $pageURL = COM_getCurrentURL();
/* Generate the token */
More information about the geeklog-cvs
mailing list