cvs: docweb /include lib_auth.inc.php
[email protected] ("Jacques Marneweck")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvsjacques1108253757@cvsserver> |
jacques Sat Feb 12 19:15:57 2005 EDT
Modified files:
/docweb/include lib_auth.inc.php
Log:
Redirect users to the new login page instead of to master.php.net for
login page.
http://cvs.php.net/diff.php/docweb/include/lib_auth.inc.php?r1=1.1&r2=1.2&ty=u
Index: docweb/include/lib_auth.inc.php
diff -u docweb/include/lib_auth.inc.php:1.1 docweb/include/lib_auth.inc.php:1.2
--- docweb/include/lib_auth.inc.php:1.1 Thu Jan 13 12:22:40 2005
+++ docweb/include/lib_auth.inc.php Sat Feb 12 19:15:57 2005
@@ -16,7 +16,7 @@
* | Authors: Jacques Marneweck <[email protected]> |
* +----------------------------------------------------------------------+
*
- * $Id: lib_auth.inc.php,v 1.1 2005/01/13 17:22:40 jacques Exp $
+ * $Id: lib_auth.inc.php,v 1.2 2005/02/13 00:15:57 jacques Exp $
*/
require_once 'cvs-auth.inc';
@@ -30,11 +30,11 @@
list($user, $pw) = explode(":", base64_decode($_COOKIE['MAGIC_COOKIE']));
if (!$user || !$pw || !verify_password($user,stripslashes($pw))) {
- Header ("Location: http://master.php.net/manage/users.php");
+ Header ("Location: http://doc.php.net/login.php");
exit;
}
} else {
- Header ("Location: http://master.php.net/manage/users.php");
+ Header ("Location: http://doc.php.net/login.php");
exit;
}