summaryrefslogtreecommitdiff
path: root/sapi/tux/php_tux.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-06-21 09:31:21 +0000
committerDerick Rethans <derick@php.net>2002-06-21 09:31:21 +0000
commit6869cb3f5a907500d9553c978fc491748585d9db (patch)
treea40530b71f58a94b359254c223d380c2ffb7f2be /sapi/tux/php_tux.c
parent0f4ccfaa27a52b916a78fedae167aaa03808b372 (diff)
downloadphp-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/tux/php_tux.c')
-rw-r--r--sapi/tux/php_tux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/tux/php_tux.c b/sapi/tux/php_tux.c
index 16a7be8133..d2da64882a 100644
--- a/sapi/tux/php_tux.c
+++ b/sapi/tux/php_tux.c
@@ -195,7 +195,7 @@ static void sapi_tux_register_variables(zval *track_vars_array TSRMLS_DC)
sprintf(buf, "Server: %s", TUXAPI_version);
- sapi_add_header_ex(buf, strlen(buf), 1, 0 TSRMLS_CC);
+ sapi_add_header_ex(buf, strlen(buf), 1, 0, 0 TSRMLS_CC);
php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC);
php_register_variable("SERVER_SOFTWARE", TUXAPI_version, track_vars_array TSRMLS_CC);
php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC);