diff options
author | Zeev Suraski <zeev@php.net> | 1999-04-28 20:26:33 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-04-28 20:26:33 +0000 |
commit | 66476011ddb8a3bee0558df90a201cbbfee1434c (patch) | |
tree | 7a4e01f282db00b604f9445c8170515f86ecbf89 /ext/apache/apache.c | |
parent | 1aaf98e54bc25eac01eaad6f2ea19e1633b6ac5d (diff) | |
download | php-git-66476011ddb8a3bee0558df90a201cbbfee1434c.tar.gz |
A step towards generalizing the INI mechanism even more
Diffstat (limited to 'ext/apache/apache.c')
-rw-r--r-- | ext/apache/apache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/apache/apache.c b/ext/apache/apache.c index 1fe384e286..c5085f749e 100644 --- a/ext/apache/apache.c +++ b/ext/apache/apache.c @@ -72,7 +72,7 @@ static PHP_INI_MH(OnChangeApacheInt) long *p; char *base = (char *) &php_apache_info; - p = (long *) (base+(size_t) mh_arg); + p = (long *) (base+(size_t) mh_arg1); if (new_value) { *p = atoi(new_value); @@ -88,7 +88,7 @@ static PHP_INI_MH(OnChangeApacheString) char **p; char *base = (char *) &php_apache_info; - p = (char **) (base+(size_t) mh_arg); + p = (char **) (base+(size_t) mh_arg1); if (new_value) { *p = new_value; @@ -99,10 +99,10 @@ static PHP_INI_MH(OnChangeApacheString) } PHP_INI_BEGIN() - PHP_INI_ENTRY("xbithack", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, xbithack)) - PHP_INI_ENTRY("engine", "1", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, engine)) - PHP_INI_ENTRY("last_modified", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, last_modified)) - PHP_INI_ENTRY("dav_script", NULL, PHP_INI_ALL, OnChangeApacheString, (void *) XtOffsetOf(php_apache_info_struct, dav_script)) + PHP_INI_ENTRY1("xbithack", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, xbithack)) + PHP_INI_ENTRY1("engine", "1", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, engine)) + PHP_INI_ENTRY1("last_modified", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, last_modified)) + PHP_INI_ENTRY1("dav_script", NULL, PHP_INI_ALL, OnChangeApacheString, (void *) XtOffsetOf(php_apache_info_struct, dav_script)) PHP_INI_END() |