diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-31 04:53:54 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-31 04:53:54 +0000 |
commit | d76cf1da183f79711d7699a2ff85f743da3f9dd2 (patch) | |
tree | 8342fd3406696bc32b81deb28d6771336fb6fe36 /sapi/apache/mod_php4.c | |
parent | 7bc71f442d7ddfecf43871b394c14100baa391b3 (diff) | |
download | php-git-d76cf1da183f79711d7699a2ff85f743da3f9dd2.tar.gz |
More TSRMLS_FETCH work
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r-- | sapi/apache/mod_php4.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 9c2a86ddbc..52a65fd9c3 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -459,7 +459,7 @@ static void init_request_info(TSRMLS_D) /* {{{ php_apache_alter_ini_entries */ -static int php_apache_alter_ini_entries(php_per_dir_entry *per_dir_entry) +static int php_apache_alter_ini_entries(php_per_dir_entry *per_dir_entry TSRMLS_DC) { zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_dir_entry->value_length, per_dir_entry->type, PHP_INI_STAGE_ACTIVATE); return 0; @@ -493,8 +493,6 @@ static int send_php(request_rec *r, int display_source_mode, char *filename) int retval; HashTable *per_dir_conf; TSRMLS_FETCH(); - TSRMLS_FETCH(); - TSRMLS_FETCH(); if (AP(in_request)) { zend_file_handle fh; @@ -521,7 +519,7 @@ static int send_php(request_rec *r, int display_source_mode, char *filename) per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php4_module); if (per_dir_conf) { - zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries); + zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC); } /* If PHP parser engine has been turned off with an "engine off" |