summaryrefslogtreecommitdiff
path: root/ext/rpc/com/COM.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rpc/com/COM.c')
-rw-r--r--ext/rpc/com/COM.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/ext/rpc/com/COM.c b/ext/rpc/com/COM.c
index 919e8ec21c..5f618264b0 100644
--- a/ext/rpc/com/COM.c
+++ b/ext/rpc/com/COM.c
@@ -74,8 +74,15 @@ function_entry COM_functions[] = {
{NULL, NULL, NULL}
};
+
+static void php_info_COM(ZEND_MODULE_INFO_FUNC_ARGS)
+{
+ DISPLAY_INI_ENTRIES();
+}
+
+
php3_module_entry COM_module_entry = {
- "Win32 COM", COM_functions, php3_minit_COM, php3_mshutdown_COM, NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
+ "Win32 COM", COM_functions, php3_minit_COM, php3_mshutdown_COM, NULL, NULL, php_info_COM, STANDARD_MODULE_PROPERTIES
};
void php_register_COM_class();
@@ -213,7 +220,7 @@ static PHP_INI_MH(OnTypelibFileChange)
PHP_INI_BEGIN()
- PHP_INI_ENTRY1("allow_dcom", "0", PHP_INI_SYSTEM, NULL, NULL)
+ PHP_INI_ENTRY1_EX("allow_dcom", "0", PHP_INI_SYSTEM, NULL, NULL, php_ini_boolean_displayer_cb)
PHP_INI_ENTRY1("typelib_file", NULL, PHP_INI_SYSTEM, OnTypelibFileChange, NULL)
PHP_INI_END()