diff options
| author | Doug MacEachern <dougm@php.net> | 2001-12-07 05:31:07 +0000 |
|---|---|---|
| committer | Doug MacEachern <dougm@php.net> | 2001-12-07 05:31:07 +0000 |
| commit | 27018c0ff0d2493bbfbe8e0815db918edde9044b (patch) | |
| tree | 41d343e25b12950ac68553f8082a644fed419abe /sapi/apache2filter | |
| parent | 3c03232b35ce7576ae0cd99a58778cc9d2682872 (diff) | |
| download | php-git-27018c0ff0d2493bbfbe8e0815db918edde9044b.tar.gz | |
rename functions to match those supported in the apache 1.3 module:
apache_sub_request -> virtual
get_all_headers -> getallheaders
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/php_functions.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sapi/apache2filter/php_functions.c b/sapi/apache2filter/php_functions.c index 395d2edad6..a49e4a70ae 100644 --- a/sapi/apache2filter/php_functions.c +++ b/sapi/apache2filter/php_functions.c @@ -48,9 +48,9 @@ static request_rec *php_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS) return ap_sub_req_lookup_uri(Z_STRVAL_PP(p1), ctx->f->r, ctx->f->next); } -/* {{{ proto bool apache_sub_req(string uri) +/* {{{ proto bool virtual(string uri) Perform an apache sub-request */ -PHP_FUNCTION(apache_sub_req) +PHP_FUNCTION(virtual) { request_rec *rr; @@ -110,9 +110,9 @@ PHP_FUNCTION(apache_lookup_uri) RETURN_FALSE; } -/* {{{ proto array get_all_headers(void) +/* {{{ proto array getallheaders(void) Fetch all HTTP request headers */ -PHP_FUNCTION(get_all_headers) +PHP_FUNCTION(getallheaders) { php_struct *ctx; apr_array_header_t *arr; @@ -138,8 +138,8 @@ PHP_MINFO_FUNCTION(apache) static function_entry apache_functions[] = { PHP_FE(apache_lookup_uri, NULL) - PHP_FE(apache_sub_req, NULL) - PHP_FE(get_all_headers, NULL) + PHP_FE(virtual, NULL) + PHP_FE(getallheaders, NULL) {0} }; |
