diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2000-04-14 14:00:32 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2000-04-14 14:00:32 +0000 |
| commit | 6727342b7a48ad274087d2b8760568c080199c28 (patch) | |
| tree | 840a59f472454ad0581500f364191d3190d24aaf | |
| parent | 32a3c3987e053287cc1b04604cfd4e54b7299b4c (diff) | |
| download | php-git-6727342b7a48ad274087d2b8760568c080199c28.tar.gz | |
Make error_prepend_string and error_append_string work
@Make error_prepend_string and error_append_string work
| -rw-r--r-- | main/main.c | 2 | ||||
| -rw-r--r-- | main/php_globals.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c index 0c50d60d54..4e12db583d 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 67e1946dd9..34c1832ec9 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; |
