diff options
author | Derick Rethans <derick@php.net> | 2002-06-21 09:31:21 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-06-21 09:31:21 +0000 |
commit | 6869cb3f5a907500d9553c978fc491748585d9db (patch) | |
tree | a40530b71f58a94b359254c223d380c2ffb7f2be /sapi/pi3web/pi3web_sapi.c | |
parent | 0f4ccfaa27a52b916a78fedae167aaa03808b372 (diff) | |
download | php-git-6869cb3f5a907500d9553c978fc491748585d9db.tar.gz |
- Added a new parameter to the header() function which overrides the HTTP
response code.
@- Added a new parameter to the header() function which overrides the HTTP
@ response code. (Derick)
Diffstat (limited to 'sapi/pi3web/pi3web_sapi.c')
-rw-r--r-- | sapi/pi3web/pi3web_sapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index 2f49cdca72..a7176a1b2a 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -424,7 +424,7 @@ DWORD PHP4_wrapper(LPCONTROL_BLOCK lpCB) break; case PHP_MODE_INDENT: header_line = (char *)estrdup("Content-Type: text/plain"); - sapi_add_header_ex(header_line, strlen(header_line), 1, 1 TSRMLS_CC); + sapi_add_header_ex(header_line, strlen(header_line), 1, 1, 0 TSRMLS_CC); if ( open_file_for_scanning( &file_handle TSRMLS_CC ) == SUCCESS ) { zend_indent(); |