cvs: php4 /ext/com COM.c
| From: | Harald Radi | Date: | Sun, 24 Jun 2001 22:20:28 +0000 |
| Subject: | cvs: php4 /ext/com COM.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6012@lists.php.net to get a copy of this message | ||
phanto Mon Jun 25 00:20:28 2001 EDT
Modified files:
/php4/ext/com COM.c
Log:
added verbose ini entry
Index: php4/ext/com/COM.c
diff -u php4/ext/com/COM.c:1.24 php4/ext/com/COM.c:1.25
--- php4/ext/com/COM.c:1.24 Sun Jun 24 23:10:07 2001
+++ php4/ext/com/COM.c Mon Jun 25 00:20:27 2001
@@ -443,6 +443,7 @@
PHP_INI_BEGIN()
PHP_INI_ENTRY_EX("com.allow_dcom", "0", PHP_INI_SYSTEM, NULL,
php_ini_boolean_displayer_cb)
PHP_INI_ENTRY_EX("com.autoregister_typelib", "0", PHP_INI_SYSTEM, NULL,
php_ini_boolean_displayer_cb)
+PHP_INI_ENTRY_EX("com.autoregister_verbose", "0", PHP_INI_SYSTEM, NULL,
php_ini_boolean_displayer_cb)
PHP_INI_ENTRY_EX("com.autoregister_casesensitive", "1", PHP_INI_SYSTEM, NULL,
php_ini_boolean_displayer_cb)
PHP_INI_ENTRY("com.typelib_file", "", PHP_INI_SYSTEM, OnTypelibFileChange)
PHP_INI_END()
@@ -1640,7 +1641,7 @@
{
/* Oops, it already exists. No problem if it is defined as the same value */
/* Check to see if they are the same */
- if (!compare_function(&results, &c.value, &exists))
+ if (!compare_function(&results, &c.value, &exists) &&
INI_INT("com.autoregister_verbose"))
{
php_error(E_WARNING,"Type library value %s is already defined and has a different
value", c.name);
}