From 0d398417282dcc31e75cb69270c53e0b7cac7ce0 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Tue, 13 May 2003 19:35:49 +0000 Subject: Oops --- sapi/apache2handler/sapi_apache2.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sapi/apache2handler/sapi_apache2.c') diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 5734d06c03..ae403d505e 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -431,11 +431,8 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC) apr_table_unset(r->headers_out, "Expires"); apr_table_unset(r->headers_out, "ETag"); apr_table_unset(r->headers_in, "Connection"); -<<<<<<< sapi_apache2.c - if (!PG(safe_mode) || (PG(safe_mode) && ap_auth_type() == NULL)) { -======= + if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) { ->>>>>>> 1.15 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); -- cgit v1.2.1