[Phplib-commit] CVS: php-lib-stable/pages defauth.php3,1.2,1.3
Brought to you by:
nhruby,
richardarcher
From: Layne W. <lay...@us...> - 2002-03-19 22:32:28
|
Update of /cvsroot/phplib/php-lib-stable/pages In directory usw-pr-cvs1:/tmp/cvs-serv22359/pages Modified Files: defauth.php3 Log Message: Fixed [ #446455 ] Failures with register_globals off Index: defauth.php3 =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/pages/defauth.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** defauth.php3 18 Aug 2001 09:41:19 -0000 1.2 --- defauth.php3 19 Mar 2002 22:32:25 -0000 1.3 *************** *** 25,31 **** // after the user submits a username and password, we will unauth // them before they even get logged in! ! $QUERY_STRING = ereg_replace( "(^|&)again=yes(&|$)", ! "\\1", $QUERY_STRING); $auth->login_if($again); // relogin, if this was requested... --- 25,31 ---- // after the user submits a username and password, we will unauth // them before they even get logged in! ! $HTTP_SERVER_VARS["QUERY_STRING"] = ereg_replace( "(^|&)again=yes(&|$)", ! "\\1", $HTTP_SERVER_VARS["QUERY_STRING"]); $auth->login_if($again); // relogin, if this was requested... |