helly           Tue Nov 19 09:11:51 2002 EDT

  Modified files:              
    /php4/main  main.c 
  Log:
  Allow error_prepend and error_append being empty as used in run-test.php
  
  
Index: php4/main/main.c
diff -u php4/main/main.c:1.516 php4/main/main.c:1.517
--- php4/main/main.c:1.516      Mon Nov 18 01:04:06 2002
+++ php4/main/main.c    Tue Nov 19 09:11:50 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.516 2002/11/18 06:04:06 sebastian Exp $ */
+/* $Id: main.c,v 1.517 2002/11/19 14:11:50 helly Exp $ */
 
 /* {{{ includes
  */
@@ -290,8 +290,8 @@
        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)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to