diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-04-30 00:47:08 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-04-30 00:47:08 +0000 |
| commit | 11d9dd93b97b9f336d76dabe704decd7c0546226 (patch) | |
| tree | af77bdb5e2ed5b6e61c9f9b31536e9040c8bdcad /sapi/apache2filter | |
| parent | 35f8be6bcce1dda4e3cdf9cd8a191d825bd87970 (diff) | |
| download | php-git-11d9dd93b97b9f336d76dabe704decd7c0546226.tar.gz | |
Fixed bug #23417 (compile failure in apache2filter sapi).
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 5188569640..f1f0e9365d 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -396,7 +396,7 @@ static void php_apache_request_ctor(ap_filter_t *f, php_struct *ctx TSRMLS_DC) apr_table_unset(f->r->headers_out, "Expires"); apr_table_unset(f->r->headers_out, "ETag"); apr_table_unset(f->r->headers_in, "Connection"); - if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) { + if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(f->r))) { auth = apr_table_get(f->r->headers_in, "Authorization"); php_handle_auth_data(auth TSRMLS_CC); } else { |
