summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2005-04-04 15:06:36 +0000
committerRui Hirokawa <hirokawa@php.net>2005-04-04 15:06:36 +0000
commit8235a70ef964c5c8d1fe7632a750b9e5c580c716 (patch)
treeda2b59d8efeafa417f0a23c5be6a0c3570729f9c /main/php_variables.c
parent4558cdade685dc38681bd09db821d9c5fad8d716 (diff)
downloadphp-git-8235a70ef964c5c8d1fe7632a750b9e5c580c716.tar.gz
added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c3
1 files changed, 3 insertions, 0 deletions
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;