[PHP4BETA] CVS update: php4/ext/com
| From: | zeev | Date: | Sun, 09 May 1999 08:47:50 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/com | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-703@lists.php.net to get a copy of this message | ||
Date: Sunday May 9, 1999 @ 4:47
Author: zeev
Update of /repository/php4/ext/com
In directory php:/tmp/cvs-serv25538/ext/com
Modified Files:
COM.c
Log Message:
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
Index: php4/ext/com/COM.c
diff -u php4/ext/com/COM.c:1.2 php4/ext/com/COM.c:1.3
--- php4/ext/com/COM.c:1.2 Wed Apr 28 16:26:29 1999
+++ php4/ext/com/COM.c Sun May 9 04:47:49 1999
@@ -74,8 +74,15 @@
{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 @@
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()
--
PHP 4 Beta