[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.710,1.711

Dirk Haun dhaun at qs1489.pair.com
Tue Jul 8 14:42:58 EDT 2008


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

Modified Files:
	lib-common.php 
Log Message:
Terminate a user's session when they are being banned


Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.710
retrieving revision 1.711
diff -C2 -d -r1.710 -r1.711
*** lib-common.php	6 Jul 2008 20:18:22 -0000	1.710
--- lib-common.php	8 Jul 2008 18:42:54 -0000	1.711
***************
*** 2780,2789 ****
  * used to be) more compatible than using a HTTP Location: header.
  *
! * @param        string      $url        URL to send user to
  *
  */
  function COM_refresh($url)
  {
!     return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"" . XHTML . "></head></html>\n";
  }
  
--- 2780,2792 ----
  * used to be) more compatible than using a HTTP Location: header.
  *
! * @param    string  $url    URL to send user to
! * @return   string          HTML meta redirect
! * @note     This does not need to be XHTML compliant. It may also be used
! *           in situations where the XHTML constant is not defined yet ...
  *
  */
  function COM_refresh($url)
  {
!     return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";
  }
  




More information about the geeklog-cvs mailing list