diff options
author | Andi Gutmans <andi@php.net> | 1999-09-05 19:49:54 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-09-05 19:49:54 +0000 |
commit | 7ebbe20fb038aac368ec6824becaf7a3cd36620a (patch) | |
tree | 3b632fc21c348355cafc3672277c564a7fffc138 /main/php_ini.c | |
parent | 2807ba18e146c190a0df0b78c71b0ff93131e723 (diff) | |
download | php-git-7ebbe20fb038aac368ec6824becaf7a3cd36620a.tar.gz |
- Should fix short_tags and co. problem.
Diffstat (limited to 'main/php_ini.c')
-rw-r--r-- | main/php_ini.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index bd73ef6b58..7848008652 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -366,6 +366,24 @@ PHPAPI void display_ini_entries(zend_module_entry *module) /* Standard message handlers */ +PHPAPI PHP_INI_MH(OnUpdateBool) +{ + zend_bool *p; +#ifndef ZTS + char *base = (char *) mh_arg2; +#else + char *base; + + base = (char *) ts_resource(*((int *) mh_arg2)); +#endif + + p = (zend_bool *) (base+(size_t) mh_arg1); + + *p = (zend_bool) atoi(new_value); + return SUCCESS; +} + + PHPAPI PHP_INI_MH(OnUpdateInt) { long *p; |