On Mon, 17 Mar 2003, Ian Holsman wrote:
> ianh Mon Mar 17 16:28:41 2003 EDT
>
> Modified files:
> /php4/sapi/apache2handler sapi_apache2.c
> Log:
> PR#22672 - User not logged under Apache2
> patch provided by Andrew Bradford.
>
> -/* $Id: sapi_apache2.c,v 1.5 2003/03/07 13:45:33 iliaa Exp $ */
> +/* $Id: sapi_apache2.c,v 1.6 2003/03/17 21:28:41 ianh Exp $ */
>
> #include <fcntl.h>
>
> @@ -429,6 +429,7 @@
> if (!PG(safe_mode)) {
> auth = apr_table_get(r->headers_in, "Authorization");
> php_handle_auth_data(auth TSRMLS_CC);
> + ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user);
> } else {
Please fix the indentation, we use tabs.
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php