]> granicus.if.org Git - php/commitdiff
Allow error_prepend and error_append being empty as used in run-test.php
authorMarcus Boerger <helly@php.net>
Tue, 19 Nov 2002 14:11:50 +0000 (14:11 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 19 Nov 2002 14:11:50 +0000 (14:11 +0000)
main/main.c

index 6d61ebe45238d3283d45b1d4b8bb48f76cb4eb39..7cfc9462f0c8e4c654efe736810e118ddd696e13 100644 (file)
@@ -290,8 +290,8 @@ PHP_INI_BEGIN()
        STD_PHP_INI_ENTRY("user_dir",                           NULL,           PHP_INI_SYSTEM,         OnUpdateStringUnempty,  user_dir,                               php_core_globals,       core_globals)
        STD_PHP_INI_ENTRY("variables_order",            NULL,           PHP_INI_ALL,            OnUpdateStringUnempty,  variables_order,                php_core_globals,       core_globals)
 
-       STD_PHP_INI_ENTRY("error_append_string",        NULL,           PHP_INI_ALL,            OnUpdateStringUnempty,  error_append_string,    php_core_globals,       core_globals)
-       STD_PHP_INI_ENTRY("error_prepend_string",       NULL,           PHP_INI_ALL,            OnUpdateStringUnempty,  error_prepend_string,   php_core_globals,       core_globals)
+       STD_PHP_INI_ENTRY("error_append_string",        NULL,           PHP_INI_ALL,            OnUpdateString,                 error_append_string,    php_core_globals,       core_globals)
+       STD_PHP_INI_ENTRY("error_prepend_string",       NULL,           PHP_INI_ALL,            OnUpdateString,                 error_prepend_string,   php_core_globals,       core_globals)
 
        PHP_INI_ENTRY("SMTP",                                           "localhost",PHP_INI_ALL,                NULL)
        PHP_INI_ENTRY("smtp_port",                                      "25",           PHP_INI_ALL,            NULL)