diff options
author | Zeev Suraski <zeev@php.net> | 1999-07-21 20:31:07 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-07-21 20:31:07 +0000 |
commit | 57323801f87f0481a0eba72c36f6cc182d411168 (patch) | |
tree | d97b44946bcbcb610506224ead036097d91a6468 | |
parent | e6fadabf43f181dc2f9280c926f82f615876b475 (diff) | |
download | php-git-57323801f87f0481a0eba72c36f6cc182d411168.tar.gz |
Fixed the Apache cookie problem (untested)
-rw-r--r-- | mod_php4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod_php4.c b/mod_php4.c index 8b481e3fd8..acfe531f20 100644 --- a/mod_php4.c +++ b/mod_php4.c @@ -149,6 +149,8 @@ int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_headers_str if (!strcasecmp(header_name, "Content-Type")) { r->content_type = pstrdup(r->pool, header_content); + } else if (!strcasecmp(header_name, "Set-Cookie")) { + table_add(r->headers_out, header_name, header_content); } else { table_set(r->headers_out, header_name, header_content); } |