cvs: docweb /include lib_auth.inc.php

From: Date: Sun, 13 Feb 2005 00:15:57 +0000
Subject: cvs: docweb /include lib_auth.inc.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-605@lists.php.net to get a copy of this message
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 <jacques@php.net> | * +----------------------------------------------------------------------+ * - * $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; }

« previous php.doc.web (#605) next »