[wp-cvs] wordpress wp-login.php,1.54,1.55

Ryan Boren rboren at users.sourceforge.net
Thu Jan 20 23:44:59 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4776

Modified Files:
	wp-login.php 
Log Message:
Try to fix some of the siteurl stomping.  Bug 678.

Index: wp-login.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** wp-login.php	20 Jan 2005 04:56:23 -0000	1.54
--- wp-login.php	20 Jan 2005 23:44:57 -0000	1.55
***************
*** 11,15 ****
  
  // If someone has moved WordPress let's try to detect it
! if ( isset( $_SERVER['PATH_INFO'] ) )
  	$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );
  
--- 11,15 ----
  
  // If someone has moved WordPress let's try to detect it
! if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
  	$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );
  



More information about the cvs mailing list