Browse Source

MFH: sendmail mess cleared (PHP_PROG_SENDMAIL was not used at all, see also bug #42946)

PHP-5.2.1RC1
Jani Taskinen 18 years ago
parent
commit
e83e18b8f8
  1. 5
      main/main.c

5
main/main.c

@ -352,8 +352,9 @@ static PHP_INI_MH(OnChangeMailForceExtra)
# define PHP_SAFE_MODE_EXEC_DIR ""
#endif
/* Windows and Netware use the internal mail */
#if defined(PHP_WIN32) || defined(NETWARE)
#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE)
# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
#elif defined(PHP_WIN32)
# define DEFAULT_SENDMAIL_PATH NULL
#else
# define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i"

Loading…
Cancel
Save