diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2009-01-09 15:00:36 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2009-01-09 15:00:36 +0000 |
commit | 968e7af6cffda22f1512f2ab775b96024b43fd05 (patch) | |
tree | 440a2e866147d07f19244cad157520c88a521a51 /main/main.c | |
parent | 3bc6285560ecf182f0e30ca9999e2810b09b87e4 (diff) | |
download | php-git-968e7af6cffda22f1512f2ab775b96024b43fd05.tar.gz |
MFB: Added mail logging functionality that allows logging of mail sent via
mail() function
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c index e78d483873..97750a29ad 100644 --- a/main/main.c +++ b/main/main.c @@ -539,6 +539,8 @@ PHP_INI_BEGIN() PHP_INI_ENTRY("SMTP", "localhost",PHP_INI_ALL, NULL) PHP_INI_ENTRY("smtp_port", "25", PHP_INI_ALL, NULL) + STD_PHP_INI_BOOLEAN("mail.add_x_header", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateBool, mail_x_header, php_core_globals, core_globals) + STD_PHP_INI_ENTRY("mail.log", NULL, PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateString, mail_log, php_core_globals, core_globals) PHP_INI_ENTRY("browscap", NULL, PHP_INI_SYSTEM, NULL) PHP_INI_ENTRY("memory_limit", "128M", PHP_INI_ALL, OnChangeMemoryLimit) PHP_INI_ENTRY("precision", "14", PHP_INI_ALL, OnSetPrecision) |