From 8235a70ef964c5c8d1fe7632a750b9e5c580c716 Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Mon, 4 Apr 2005 15:06:36 +0000 Subject: added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication. --- main/php_variables.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/php_variables.c') diff --git a/main/php_variables.c b/main/php_variables.c index 17a0d82592..95995c2e39 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -515,6 +515,9 @@ static inline void php_register_server_variables(TSRMLS_D) if (SG(request_info).auth_password) { php_register_variable("PHP_AUTH_PW", SG(request_info).auth_password, array_ptr TSRMLS_CC); } + if (SG(request_info).auth_digest) { + php_register_variable("PHP_AUTH_DIGEST", SG(request_info).auth_digest, array_ptr TSRMLS_CC); + } /* store request init time */ { zval new_entry; -- cgit v1.2.1