diff --git a/main/main.c b/main/main.c index 0c50d60d54e..4e12db583d4 100644 --- a/main/main.c +++ b/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) diff --git a/main/php_globals.h b/main/php_globals.h index 67e1946dd9a..34c1832ec9a 100644 --- a/main/php_globals.h +++ b/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;