cvs: php4 /main main.c
| From: | Zeev Suraski | Date: | Sun, 07 Jan 2001 18:38:38 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3420@lists.php.net to get a copy of this message | ||
zeev Sun Jan 7 10:38:38 2001 EDT
Modified files:
/php4/main main.c
Log:
Change get_ini_entry to get_configuration_directive
Index: php4/main/main.c
diff -u php4/main/main.c:1.345 php4/main/main.c:1.346
--- php4/main/main.c:1.345 Tue Jan 2 14:49:26 2001
+++ php4/main/main.c Sun Jan 7 10:38:38 2001
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.345 2001/01/02 22:49:26 zeev Exp $ */
+/* $Id: main.c,v 1.346 2001/01/07 18:38:38 zeev Exp $ */
#include <stdio.h>
@@ -504,7 +504,7 @@
}
-static int php_get_ini_entry_for_zend(char *name, uint name_length, zval *contents)
+static int php_get_configuration_directive_for_zend(char *name, uint name_length, zval *contents)
{
zval *retval = cfg_get_entry(name, name_length);
@@ -816,7 +816,7 @@
zuf.message_handler = php_message_handler_for_zend;
zuf.block_interruptions = sapi_module.block_interruptions;
zuf.unblock_interruptions = sapi_module.unblock_interruptions;
- zuf.get_ini_entry = php_get_ini_entry_for_zend;
+ zuf.get_configuration_directive = php_get_configuration_directive_for_zend;
zuf.ticks_function = php_run_ticks;
zend_startup(&zuf, NULL, 1);