[geeklog-cvs] geeklog-1.3/public_html users.php,1.86,1.87

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat Sep 4 15:37:39 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv6269

Modified Files:
	users.php 
Log Message:
Use $HTTP_SERVER_VARS['HTTP_REFERER'] instead of $HTTP_REFERER


Index: users.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/users.php,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -d -r1.86 -r1.87
*** users.php	23 Aug 2004 12:38:50 -0000	1.86
--- users.php	4 Sep 2004 19:37:35 -0000	1.87
***************
*** 892,904 ****
                     $_CONF['cookiesecure']);
  
!         if (($HTTP_REFERER) && (strstr ($HTTP_REFERER, '/users.php') === false)) {
              $indexMsg = $_CONF['site_url'] . '/index.php?msg=';
!             if (substr ($HTTP_REFERER, 0, strlen ($indexMsg)) == $indexMsg) {
!                 $display .= COM_refresh($_CONF['site_url'] . '/index.php');
              } else {
!                 $display .= COM_refresh($HTTP_REFERER);
              }
          } else {
!             $display .= COM_refresh($_CONF['site_url'] . '/index.php');
          }
      } else {
--- 892,904 ----
                     $_CONF['cookiesecure']);
  
!         if (!empty ($HTTP_SERVER_VARS['HTTP_REFERER']) && (strstr ($HTTP_SERVER_VARS['HTTP_REFERER'], '/users.php') === false)) {
              $indexMsg = $_CONF['site_url'] . '/index.php?msg=';
!             if (substr ($HTTP_SERVER_VARS['HTTP_REFERER'], 0, strlen ($indexMsg)) == $indexMsg) {
!                 $display .= COM_refresh ($_CONF['site_url'] . '/index.php');
              } else {
!                 $display .= COM_refresh ($HTTP_SERVER_VARS['HTTP_REFERER']);
              }
          } else {
!             $display .= COM_refresh ($_CONF['site_url'] . '/index.php');
          }
      } else {




More information about the geeklog-cvs mailing list