Skip to content
Browse files

Make error_prepend_string and error_append_string work

@Make error_prepend_string and error_append_string work
  • Loading branch information...
1 parent 32a3c39 commit 6727342b7a48ad274087d2b8760568c080199c28 @rlerdorf rlerdorf committed Apr 14, 2000
Showing with 5 additions and 0 deletions.
  1. +2 −0 main/main.c
  2. +3 −0 main/php_globals.h
View
2 main/main.c
@@ -179,6 +179,8 @@ PHP_INI_BEGIN()
STD_PHP_INI_BOOLEAN("asp_tags", "0", PHP_INI_ALL, OnUpdateBool, asp_tags, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("display_errors", "1", PHP_INI_ALL, OnUpdateBool, display_errors, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("enable_dl", "1", PHP_INI_SYSTEM, OnUpdateBool, enable_dl, php_core_globals, core_globals)
+ STD_PHP_INI_BOOLEAN("error_append_string", NULL, PHP_INI_ALL, OnUpdateString, error_append_string, php_core_globals, core_globals)
+ STD_PHP_INI_BOOLEAN("error_prepend_string", NULL, PHP_INI_ALL, OnUpdateString, error_prepend_string, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("expose_php", "1", PHP_INI_SYSTEM, OnUpdateBool, expose_php, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("ignore_user_abort", "1", PHP_INI_ALL, OnUpdateBool, ignore_user_abort, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("implicit_flush", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM,OnUpdateBool, implicit_flush, php_core_globals, core_globals)
View
3 main/php_globals.h
@@ -87,6 +87,9 @@ struct _php_core_globals {
char *upload_tmp_dir;
long upload_max_filesize;
+ char *error_append_string;
+ char *error_prepend_string;
+
char *auto_prepend_file;
char *auto_append_file;

0 comments on commit 6727342

Please sign in to comment.
Something went wrong with that request. Please try again.