From 62a7f935b833c7aea1aca4f773e5142c80a4f2f8 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 24 Apr 2002 01:51:50 +0000 Subject: [PATCH] MFH --- php.ini-recommended | 2 +- sapi/apache/mod_php4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php.ini-recommended b/php.ini-recommended index 92982e4fe3..f166bc999c 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -241,7 +241,7 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; -; - Show all errors except for notices +; - Show all errors ; error_reporting = E_ALL diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 750661ed4f..32a20783b2 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -434,7 +434,7 @@ static void init_request_info(TSRMLS_D) authorization = table_get(r->headers_in, "Authorization"); } if (authorization -/* && !auth_type(r) */ + && !auth_type(r) && !strcasecmp(getword(r->pool, &authorization, ' '), "Basic")) { tmp = uudecode(r->pool, authorization); SG(request_info).auth_user = getword_nulls_nc(r->pool, &tmp, ':'); -- 2.50.1